isnan

From OpenGL Reference
Jump to navigation Jump to search

Determine whether the parameter is a number.

Declaration[edit]

genBType isnan( genType x );
genBType isnan( genDType x );


Parameters[edit]

x - Specifies the value to test for NaN.


Description[edit]

For each elementiof the result, isnan returns true if x [i] is posititve or negative floating point NaN (Not a Number) and false otherwise.


Version Support[edit]

isnan (genType) 1.3+
isnan (genDType) 4.0+

See Also[edit]

 isinf 


Copyright[edit]

Copyright© 2011-2014 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.