|
From: Hans-Bernhard B. <br...@ph...> - 2005-07-31 19:02:52
|
Ethan Merritt wrote: > I am surprised to find that NaN is not accepted already. > It's acceptable in a data file. But not reliably. It's a feature of the systems sscanf() / strtod() implementation whether NaN will be accepted, and if so, which input string will get you this result. Remember: there could still be machines out there that don't have NaNs at all. |