[vtk-developers] Adding IsNan() to vtkMath
Moreland, Kenneth
kmorel at sandia.gov
Tue Jul 21 09:38:35 EDT 2009
How portable are these? Do I have to worry about them not existing on, say, MSVC6 or HP?
-Ken
On 7/21/09 7:28 AM, "Brad King" <brad.king at kitware.com> wrote:
#include <limits>
...
std::numeric_limits<double>::quiet_NaN()
std::numeric_limits<double>::signaling_NaN()
A quiet NaN silently propagates through expressions, while a
signaling NaN will trigger a floating point exception.
**** Kenneth Moreland
*** Sandia National Laboratories
***********
*** *** *** email: kmorel at sandia.gov
** *** ** phone: (505) 844-8919
*** web: http://www.cs.unm.edu/~kmorel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20090721/83d329b5/attachment.html>
More information about the vtk-developers
mailing list