[std-interval] Interval comparison operators
Hervé Brönnimann
hbr at poly.edu
Sat Jun 3 12:37:39 PDT 2006
On Jun 1, 2006, at 3:25 AM, Alan Eliasen wrote:
> I know of no portable functions other than std::isnan()
> (defined in cmath) which simply detects if it's a NaN or not, so you
> shouldn't even expect to differentiate between these two.
FWIW, std::numeric_limits<T> has members has_quiet_NaN and
has_signaling_NaN along with quiet_NaN and signaling_NaN. What you
can expect is to differentiate between them IF your platform supports
them (and the numeric_limits given by your system is accurate for the
platform, as it should).
--
Hervé Brönnimann
CIS, Polytechnic University
hbr at poly.edu
More information about the Std-interval
mailing list