[std-interval] detecting NaN

first.i.last at comcast.net first.i.last at comcast.net
Tue Jun 6 00:59:39 PDT 2006


 -------------- Original message ----------------------
From: Alan Eliasen <eliasen at mindspring.com>

> So, again, without lack of evidence to the contrary, I stand
> by my assertion that isnan() is the only standard function
> available to detect if a number is a NaN or not, and it
> can't distinguish between quiet and signaling NaNs.

Do you not like the use of fpclassify() to detect NaNs?  On x86 platforms there is hardware support for classification based on the fxam instruction.

-- Lee Winter


More information about the Std-interval mailing list