[#BloombergLP-bdlb-Float-isInfinite-0f] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/Float.adoc[Float]::isInfinite :relfileprefix: ../../../ :mrdocs: Return `true` if `number` is positive or negative infinity. == Synopsis Declared in `<bdlb_float.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static bool isInfinite(float number); ---- == Description This function is equivalent to the `isinf` macro in C99. Note that infinity is a valid floating‐point value and is not a "NaN". == Return Value `true` if `number` is positive or negative infinity, and `false` otherwise == Parameters [cols="1,4"] |=== | Name| Description | *number* | floating‐point value to test |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#