parseDecimal32Exact overloads

Synopses

Declared in <bdldfp_decimalutil.h>

Load into the specified out the decimal floating point number described by the specified str. Return 0 if out is an exact representation of str, a positive value if str is an approximation of str (i.e., str could not be represented exactly), and a negative value if str could not be parsed. The value of out is unspecified if the function returns a negative value.

static
int
parseDecimal32Exact(
    Decimal32* out,
    char const* str);

Same as the overload above for parseDecimal32Exact.

template<class STRING_TYPE>
static
int
parseDecimal32Exact(
    Decimal32* out,
    STRING_TYPE const& str);

Created with MrDocs