Path: utzoo!utgpu!watmath!att!tut.cis.ohio-state.edu!ucbvax!MASIG2.OCEAN.FSU.EDU!davis From: davis@MASIG2.OCEAN.FSU.EDU (Alan Davis) Newsgroups: comp.sys.sgi Subject: xdr double precision Message-ID: <8908151555.AA14363@masig2.ocean.fsu.edu> Date: 15 Aug 89 15:55:30 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 24 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@masig1.ocean.fsu.edu Florida State University | (128.186.3.1) 435 OSB Meteorology Annex | SPAN scri::"davis@masig1.ocean.fsu.edu" Tallahassee, FL 32306-3041 | BITNET davis%masig1.ocean.fsu.edu@cunyvm (904) 644-3798 | _______________________________________________________________________________