mathisnormal Method (Single) |
Checks if the given number is normal.
Namespace:
C
Assembly:
C.math (in C.math.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static bool isnormal(
float number
)
Public Shared Function isnormal (
number As Single
) As Boolean
public:
static bool isnormal(
float number
)
static member isnormal :
number : float32 -> bool
Parameters
- number
- Type: SystemSingle
A floating-point number.
Return Value
Type:
Booleantrue if
number is normal,
false otherwise.
Remarks
A floating-point number is normal if it is neither zero, subnormal, infinite, nor NaN.
See isnormal in the C standard documentation.
See Also