Type Definition ion_c_sys::ION_DECIMAL[][src]

type ION_DECIMAL = _ion_decimal;

Implementations

Assigns a BigDecimal into this ION_DECIMAL.

Converts this ION_DECIMAL to a BigDecimal.

Special decimal values such as NaN and infinity are not supported for conversion.

This implementation borrows mutably, to avoid a copy of the underlying decimal implementation, but does not change the value.

Specifically, this code scales from/to the exponent the value to extract the coefficient.