Load the specified result with the closest floating point representation to the value of type JsonNumber held by this object, even if a non‐zero status is returned. Return 0 if this number can be represented exactly, and return JsonNumber::k_INEXACT if value cannot be represented exactly. If this number is outside the representable range, load result with +INF or ‐INF (as appropriate). A number can be represented exactly as a Decimal64 if, for the significand and exponent, abs(significand) <= 9,999,999,999,999,999 and ‐398 <= exponent <= 369. The behavior is undefined unless isNumber() returns true;
Synopsis
Declared in <bdljsn_json.h>
int
asDecimal64Exact(bdldfp::Decimal64* result) const;
Created with MrDocs