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

Function xmlXPathIsNaN

ThirdParty/libxml2/vtklibxml2/xpath.c:188–195  ·  view source on GitHub ↗

* xmlXPathIsNaN: * @val: a double value * * Checks whether a double is a NaN. * * Returns 1 if the value is a NaN, 0 otherwise */

Source from the content-addressed store, hash-verified

186 * Returns 1 if the value is a NaN, 0 otherwise
187 */
188int
189xmlXPathIsNaN(double val) {
190#ifdef isnan
191 return isnan(val);
192#else
193 return !(val == val);
194#endif
195}
196
197/**
198 * xmlXPathIsInf:

Callers 13

doXPathDumpFunction · 0.85
xmlXPathDebugDumpObjectFunction · 0.85
xmlXPathFormatNumberFunction · 0.85
xmlXPathCompareNodeSetsFunction · 0.85
xmlXPathCompareValuesFunction · 0.85
xmlSchematronRunTestFunction · 0.85
xmlSchemaCompareFloatsFunction · 0.85

Calls 1

isnanFunction · 0.50

Tested by

no test coverage detected