Chip Salzenberg on 17 Aug 2004 21:20:03 -0000 |
According to Walt Mankowski: > Since I'm writing this in C (well, really C++, but in this case I > don't think it makes any difference) Actually, it does. :-) After: #include <limits> You want to use one of: std::numeric_limits<double>::quiet_NaN() std::numeric_limits<double>::signaling_NaN() But (at this point my research is fuzzy) you may want to check these first: std::numeric_limits<double>::has_quiet_NaN std::numeric_limits<double>::has_signaling_NaN -- Chip Salzenberg - a.k.a. - <chip@pobox.com> Visualize This Signature ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|