Return true if x is neither infinity nor NaN.
Synopsis
Declared in <bdldfp_decimalutil.h>
static
bool
isFinite(Decimal32 x);
Description
Return true if the specified x is not an infinity value or NaN and false otherwise. Note that this is equivalent to classify(x) != FP_INFINITE && classify(x) != FP_NAN.
Return Value
true if x is neither infinity nor NaN, and false otherwise
Parameters
Name |
Description |
x |
value to classify |
Created with MrDocs