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
value
The value to check is NaN.
stack_frame
Contains 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
(v1,
csf_
);
// test ok.
xtd::tunit::valid::is_NaN
(v2,
csf_
);
// test fails.
xtd::tunit::valid::is_NaN
static void is_NaN(double value)
that a value is NaN.
csf_
#define csf_
Provides information about the current stack frame.
Definition
current_stack_frame.h:30
xtd
tunit
valid
Generated on Sat Sep 14 2024 21:25:32 for xtd by
Gammasoft
. All rights reserved.