What is permissable with HUGE_VAL

Doug Gwyn gwyn at smoke.BRL.MIL
Tue Jul 24 04:28:39 AEST 1990


In article <1990Jul19.204933.18891 at watmath.waterloo.edu> rbutterworth at watmath.waterloo.edu (Ray Butterworth) writes:
>i.e.  there is no reason (other than the obvious sillyness) that
>an implementation can't define HUGE_VAL as 5.2.

Yes, HUGE_VAL is not required to be the largest representable value.
However, it should be defined as close to that as is feasible,
simply as a matter of quality of implementation.



More information about the Comp.std.c mailing list