[#BloombergLP-bdldfp-DecimalUtil-isFinite-00] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalUtil.adoc[DecimalUtil]::isFinite :relfileprefix: ../../../ :mrdocs: Return `true` if `x` is neither infinity nor NaN. == Synopsis Declared in `<bdldfp_decimalutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static bool isFinite(xref:BloombergLP/bdldfp/Decimal32.adoc[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 [cols="1,4"] |=== | Name| Description | *x* | value to classify |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#