`char' parameters: a follow-up/summary ( Long - but worth it :-) )
Tom Stockfisch
tps at chem.ucsd.edu
Sun Sep 11 04:58:54 AEST 1988
In article <191 at rocky8.rockefeller.edu> edf at rocky2.rockefeller.edu (David MacKenzie) writes:
>This is one of the big reasons that K&R C is not considered by some to
>be as good as FORTRAN for floating-point work; you can't have a function
>that takes a float or a char as an argument, which would be more
>efficient if that's all the precision that you need.
Every C compiler I've used has an option which
disables default promotion
of float to double. The "only" remaining problem
is accessing single
precision math library routines.
--
|| Tom Stockfisch, UCSD Chemistry tps at chem.ucsd.edu
More information about the Comp.lang.c
mailing list