[vtk-developers] isnan
Thompson, David C
dcthomp at sandia.gov
Sat Jan 13 19:10:02 EST 2007
> In the mean time, how about the question of where to put
> the actual isnan function in VTK, hopefully in a way that
> introduces as little overhead as possible? Is vtkstd::isnan()
> the right place (since that's analogous to std::isnan() )?
Note that vtkMath already has static member functions
Inf(), NegInf(), and Nan() that return constants. If isnan
is placed in vtkstd, then these functions should also move
there. I would prefer vtkMath::IsNan() though. Also, I'm under
the impression that some of the compilers that Kitware wishes
to support (*cough*MSVC 6*cough*) don't have isnan() at all -- but
I could easily be wrong about that as I am not a Windows person.
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20070113/1d5dd578/attachment.html>
More information about the vtk-developers
mailing list