Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!mcvax!dik From: dik@cwi.nl (Dik T. Winter) Newsgroups: comp.lang.c Subject: Re: fortran to C converter Message-ID: <8050@boring.cwi.nl> Date: 24 Apr 89 22:19:12 GMT References: <10176@socslgw.csl.sony.JUNET> <12247@lanl.gov> <1989Apr24.172747.993@utzoo.uucp> Organization: CWI, Amsterdam Lines: 17 In article <1989Apr24.172747.993@utzoo.uucp> henry@utzoo.uucp (Henry Spencer) writes: > In article <12247@lanl.gov> jlg@lanl.gov (Jim Giles) writes: > >On the Cray, doubles have 28 digits of precision, but it takes 50 (that's > >right - FIFTY) time as long to compute with doubles as with singles. That > >doesn't even include the fact that doubles don't vectorize! Single precision > >carries 14 digits of precision and is adequate for most computation. > > Given the pervasive nature of double in C code, sounds like Cray made a bad > decision (or an interim one). Given that Cray's choice predates C, this sounds a bit strange. Considering K&R and Ansi C, I would say that K&R made a bad decision (and clearly an interim one). -- dik t. winter, cwi, amsterdam, nederland INTERNET : dik@cwi.nl BITNET/EARN: dik@mcvax