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

◆ is_NaN() [2/12]

static void xtd::tunit::valid::is_NaN ( double  value,
const xtd::diagnostics::stack_frame stack_frame 
)
static

that a value is NaN.

Parameters
valueThe value to check is NaN.
stack_frameContains information about current file and current line.
Examples
double v1 = std::numeric_limits<double>::quiet_NaN();
double v2 = 3.14159265358979323846;
xtd::tunit::valid::is_NaN(v2, csf_); // test fails.
static void is_NaN(double value)
that a value is NaN.
#define csf_
Provides information about the current stack frame.
Definition current_stack_frame.h:30