xtd 0.2.0
Loading...
Searching...
No Matches

◆ is_NaN() [9/12]

static void xtd::tunit::valid::is_NaN ( float  value)
static

that a value is NaN.

Parameters
valueThe value to check is NaN.
Examples
float v1 = std::numeric_limits<float>::quiet_NaN();
float v2 = 3.14159265358979323846;
xtd::tunit::valid::is_NaN(v1); // test ok.
xtd::tunit::valid::is_NaN(v2); // test fails.
static void is_NaN(double value)
that a value is NaN.