Return a string for a special floating-point classification, or 0.
Declared in <baljsn_printutil.h>
static
char const*
floatingPointSpecialAsString(bdlb::Float::FineClassification classification);
Return the string representation of special floating point values if the specified classification is: * bdlb::Float::k_POSITIVE_INFINITY * bdlb::Float::k_NEGATIVE_INFINITY * bdlb::Float::k_QNAN * bdlb::Float::k_SNAN and 0 otherwise. This representation does not include the delimiting double quotes of JSON strings.
string representation of the special value, or 0 if not special
| Name | Description |
|---|---|
| classification | floating-point classification to map to a string |