Mail Archives: djgpp-workers/2002/09/19/05:34:17
On Thu, 19 Sep 2002, Eli Zaretskii wrote:
>> 2: F (uppercase f) Not implemented Defined.
>
> What does F do? (Sorry don't have the references to look it up where I
> type this.)
The difference between f and F is that:
f prints: inf or infinity and nan.
F prints: INF or INFINITY and NAN.
This applies also to e,E and g,G.
IIRC, libc implementation always prints NaN and Inf. (Sorry don't have the
sources to look it up where I type this.)
Anyway to get as much as possible C99 compatibility, I have modified f,F, e,E
and g,G as explained above.
As Charles Sandman suggested some time ago, I have commented out (#if 0)
the O conversion specifier from the sources and retained unchanged everything
else to keep BORLAND/MSC compatibility.
Regards,
Juan M. Guerrero
- Raw text -