<!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>
<BR>
Note that vtkMath already has static member functions<BR>
Inf(), NegInf(), and Nan() that return constants. If isnan<BR>
is placed in vtkstd, then these functions should also move<BR>
there. I would prefer vtkMath::IsNan() though. Also, I'm under<BR>
the impression that some of the compilers that Kitware wishes<BR>
to support (*cough*MSVC 6*cough*) don't have isnan() at all -- but<BR>
I could easily be wrong about that as I am not a Windows person.<BR>
<BR>
David</FONT>
</P>
</BODY>
</HTML>