mathisunordered Method (Single, Single) |
Gets a value that indicates whether two floating-point numbers are unordered.
Namespace:
C
Assembly:
C.math (in C.math.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static bool isunordered(
float number1,
float number2
)
Public Shared Function isunordered (
number1 As Single,
number2 As Single
) As Boolean
public:
static bool isunordered(
float number1,
float number2
)
static member isunordered :
number1 : float32 *
number2 : float32 -> bool
Parameters
- number1
- Type: SystemSingle
A floating-point number. - number2
- Type: SystemSingle
A floating-point number.
Return Value
Type:
Booleantrue if either
number1 or
number1 is
NaN,
false otherwise.
Remarks
See Also