fortran to C converter

Jim Giles jlg at lanl.gov
Wed Apr 26 10:36:24 AEST 1989


>From article <12661 at lanl.gov>, by jlg at lanl.gov (Jim Giles):
> [...]                                                   In fact, the
> only surprising thing about floating point in the standard is that
> it requires the FLT_RADIX to be 2 - that is, it requires "float" to
> be binary!  No radix is defined for "double" or "long double".

My mistake!  Another part of the standard says that FLT_RADIX applies to
all three floating point types.  So, C requires floating point to be binary.
This is a departure from ANSI programming languages in the past.



More information about the Comp.lang.c mailing list