MCPcopy Create free account
hub / github.com/Kitware/VTK / IsNan

Method IsNan

Common/Core/vtkMath.h:2284–2291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2282#if defined(VTK_HAS_ISNAN) || defined(VTK_HAS_STD_ISNAN)
2283#define VTK_MATH_ISNAN_IS_INLINE
2284inline vtkTypeBool vtkMath::IsNan(double x)
2285{
2286#if defined(VTK_HAS_STD_ISNAN)
2287 return std::isnan(x);
2288#else
2289 return (isnan(x) != 0); // Force conversion to bool
2290#endif
2291}
2292#endif
2293
2294//-----------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 1

isnanFunction · 0.70

Tested by

no test coverage detected