xdr double precision

Alan Davis davis at MASIG2.OCEAN.FSU.EDU
Wed Aug 16 01:55:30 AEST 1989


I have been trying to get a set of functions working on an IRIS 3130 that
utilizes the rpc/xdr library routines to transfer data between different
machines.  Unfortunately, xdr_double(), which is supposed to handle double
precision data does not work when the data being passed is of type "long float".
The routine will work with single precision (ie, float and double) which leads
me to wonder if SGI has compiled the library with double set to the default
of single precision?  If this is so, can the xdr routines be used to transmitt
real double precision data (8 bytes)?

Second question.  I have noted many deficiencies in SGI's implementation of
the C compiler and the run-time libraries on the 3xxx machines (besides the
one mentioned above).  We are anticipating the purchase of a 4D machine and
I would like to hear comments on the C compiler and libraries on these machines.
Specifically, is the compiler an ANSI standard version and do the libraries
contain a complete set of functions included in either SYS V.3 or BSD4.3?

--
          Alan Davis                |
Mesoscale Air-Sea Interaction Group | TCP/IP davis at masig1.ocean.fsu.edu
    Florida State University        |             (128.186.3.1)
    435 OSB  Meteorology Annex      | SPAN   scri::"davis at masig1.ocean.fsu.edu"
    Tallahassee, FL 32306-3041      | BITNET davis%masig1.ocean.fsu.edu at cunyvm
         (904) 644-3798             |
_______________________________________________________________________________



More information about the Comp.sys.sgi mailing list