[vtk-developers] isnan
Thompson, David C
dcthomp at sandia.gov
Sun Jan 14 02:44:42 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.
>
> Honestly, I missed those because I was looking for the test.
> However, I think you really need the isnan() test too.
I was not trying to suggest otherwise; I just wanted to
keep the API consistent.
> ...
> I believe ITK supports isnan(), but I didn't really
> follow the discussing thread about it except to get
> it running on the Mac. Is there a difference in ITK
> and VTK supported compilers?
I don't know. I'll ask around next week and see if I
can find someone who knows exactly what the portability
issue was.
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20070114/4457dcc8/attachment.html>
More information about the vtk-developers
mailing list