Mail Archives: djgpp-workers/2000/03/27/15:21:31
According to Hans-Bernhard Broeker:
> Sure. I didn't meant to say that unnormals should be treated as
> indistinguishable from NaN, i.e. the distinction is to be kept, at least
> in situations like printf("%Lf"). But in the definition space provided by
> C99, we have only limited choices what to fpclassify() an unnormal as:
>
> infinite
> NaN
> normal
> subnormal
> zero
That's not true. In 7.12, about <math.h> it says:
The macros
FP_INFINITE
FP_NAN
FP_NORMAL
FP_SUBNORMAL
FP_ZERO
are for number classification. ... Additional implementation-defined
floating-point classifications, ..., may also be specified by the
implementation."
Right,
MartinS
- Raw text -