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