fortran to C converter
Dik T. Winter
dik at cwi.nl
Tue Apr 25 08:19:12 AEST 1989
In article <1989Apr24.172747.993 at utzoo.uucp> henry at utzoo.uucp (Henry Spencer) writes:
> In article <12247 at lanl.gov> jlg at 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 at cwi.nl
BITNET/EARN: dik at mcvax
More information about the Comp.lang.c
mailing list