[vtk-developers] Patch for NaN and Inf in vtkMath

Moreland, Kenneth kmorel at sandia.gov
Thu Aug 13 12:51:57 EDT 2009


A few weeks ago I solicited some advice on how to implement IsNan in vtkMath.  Based on advice from Brad King, I have the attached patch that improves upon and adds to the methods handling NaN and Inf in a way that I hope is portable.  Does anyone have thoughts on committing this?

-Ken

   ****      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/20090813/1ae7a8cf/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NaN.patch
Type: application/octet-stream
Size: 9094 bytes
Desc: NaN.patch
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20090813/1ae7a8cf/attachment-0001.obj>


More information about the vtk-developers mailing list