Mail Archives: djgpp-workers/2003/04/01/04:57:48
Hello.
Eli Zaretskii wrote:
[snip]
> If indeed there's no format specifier for a float (I don't have time
> to dig into C9x, but I thought there was something like %hf, no?),
I was hoping for '%hf', but there isn't one. 'L' is the only conversion width
specifier for floating-point types. It seems like a strange omission to me.
Maybe it'll be in C09 (C2009)?
> then it would at least be nice to be able to distinguish between a
> double and a long double NaN.
That's possible.
> So how about some code that would detect NaNs early on, before they
> are converted to a long double?
Yep, I'll add that.
Thanks, bye, Rich =]
--
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]
- Raw text -