<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7650.28">
<TITLE>RE: [vtk-developers] isnan</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>>>> In the mean time, how about the question of where to put<BR>
>>> the actual isnan function in VTK, hopefully in a way that<BR>
>>> introduces as little overhead as possible? Is vtkstd::isnan()<BR>
>>> the right place (since that's analogous to std::isnan() )?<BR>
>> Note that vtkMath already has static member functions<BR>
>> Inf(), NegInf(), and Nan() that return constants.<BR>
><BR>
> Honestly, I missed those because I was looking for the test.<BR>
> However, I think you really need the isnan() test too.<BR>
<BR>
I was not trying to suggest otherwise; I just wanted to<BR>
keep the API consistent.<BR>
<BR>
> ...<BR>
> I believe ITK supports isnan(), but I didn't really<BR>
> follow the discussing thread about it except to get<BR>
> it running on the Mac. Is there a difference in ITK<BR>
> and VTK supported compilers?<BR>
<BR>
I don't know. I'll ask around next week and see if I<BR>
can find someone who knows exactly what the portability<BR>
issue was.<BR>
<BR>
David</FONT>
</P>
</BODY>
</HTML>