isinf

From OpenGL Reference
Jump to navigation Jump to search

Determine whether the parameter is positive or negative infinity.

Declaration[edit]

genBType isinf( genType x );
genBType isinf( genDType x );


Parameters[edit]

x - Specifies the value to test for infinity.


Description[edit]

For each elementiof the result, isinf returns true if x [i] is posititve or negative floating point infinity and false otherwise.


Version Support[edit]

isinf (genType) 1.1+
isinf (genDType) 4.0+

See Also[edit]

 isnan 


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/.