CppUnit project page | FAQ | CppUnit home page |
Go to the source code of this file.
Functions | |
CPPUNIT_NS_BEGIN bool | floatingPointIsUnordered (double x) |
Tests if a floating-point is a NaN. | |
int | floatingPointIsFinite (double x) |
Tests if a floating-point is finite. |
int floatingPointIsFinite | ( | double | x | ) | [inline] |
Tests if a floating-point is finite.
true
if x is neither a NaN, nor +inf, nor -inf, false
otherwise. CPPUNIT_NS_BEGIN bool floatingPointIsUnordered | ( | double | x | ) | [inline] |
Tests if a floating-point is a NaN.
|
hosts this site. |
Send comments to: CppUnit Developers |