Structs§
- DecContext
- Context for operations.
Enums§
- DecClass
- Classifications for decimal numbers, aligned with IEEE 754 (note that ‘normal’ and ‘subnormal’ are meaningful only with a DecContext or a fixed size format.
- Rounding
- Rounding modes.
Constants§
- DEC_
CLAMPED - DEC_
CLASS_ STRING_ NI - String for DecClass::DecClassNegInf.
- DEC_
CLASS_ STRING_ NN - String for DecClass::DecClassNegNormal.
- DEC_
CLASS_ STRING_ NS - String for DecClass::DecClassNegSubnormal.
- DEC_
CLASS_ STRING_ NZ - String for DecClass::DecClassNegZero.
- DEC_
CLASS_ STRING_ PI - String for DecClass::DecClassPosInf.
- DEC_
CLASS_ STRING_ PN - String for DecClass::DecClassPosNormal.
- DEC_
CLASS_ STRING_ PS - String for DecClass::DecClassPosSubnormal.
- DEC_
CLASS_ STRING_ PZ - String for DecClass::DecClassPosZero.
- DEC_
CLASS_ STRING_ QN - String for DecClass::DecClassQNaN.
- DEC_
CLASS_ STRING_ SN - String for DecClass::DecClassSNaN.
- DEC_
CLASS_ STRING_ UN - String for invalid value.
- DEC_
CONVERSION_ SYNTAX - DEC_
DIVISION_ BY_ ZERO - DEC_
DIVISION_ IMPOSSIBLE - DEC_
DIVISION_ UNDEFINED - DEC_
ERRORS - Flags which are normally errors (result is qNaN, infinite, or 0).
- DEC_
IEEE_ 754_ DIVISION_ BY_ ZERO - DEC_
IEEE_ 754_ INEXACT - DEC_
IEEE_ 754_ INVALID_ OPERATION - DEC_
IEEE_ 754_ OVERFLOW - DEC_
IEEE_ 754_ UNDERFLOW - DEC_
IEEE_ 854_ DIVISION_ BY_ ZERO - DEC_
IEEE_ 854_ INEXACT - DEC_
IEEE_ 854_ INVALID_ OPERATION - DEC_
IEEE_ 854_ OVERFLOW - DEC_
IEEE_ 854_ UNDERFLOW - DEC_
INEXACT - DEC_
INFORMATION - Flags which are normally for information only (finite results).
- DEC_
INIT_ BASE - ANSI X3-274 defaults.
- DEC_
INIT_ DECIMA L32 - IEEE 754 defaults, 32-bit.
- DEC_
INIT_ DECIMA L64 - IEEE 754 defaults, 64-bit.
- DEC_
INIT_ DECIMA L128 - IEEE 754 defaults, 128-bit.
- DEC_
INIT_ DEC_ DOUBLE - Synonym for DEC_INIT_DECIMAL64.
- DEC_
INIT_ DEC_ QUAD - Synonym for DEC_INIT_DECIMAL128.
- DEC_
INIT_ DEC_ SINGLE - Synonym for DEC_INIT_DECIMAL32.
- DEC_
INSUFFICIENT_ STORAGE - DEC_
INVALID_ CONTEXT - DEC_
INVALID_ OPERATION - DEC_
MAX_ DIGITS - Max digits.
- DEC_
MAX_ EMAX - Max emax.
- DEC_
MAX_ EMIN - Max emin.
- DEC_
MAX_ MATH - Max emax, etc., for mathematical functions.
- DEC_
MIN_ DIGITS - Min digits.
- DEC_
MIN_ EMAX - Min emax.
- DEC_
MIN_ EMIN - Min emin.
- DEC_
NANS - Flags which cause a result to become qNaN.
- DEC_
OVERFLOW - DEC_
ROUNDED - DEC_
ROUND_ DEFAULT - Default rounding mode is Rounding::DecRoundHalfEven.
- DEC_
SUBNORMAL - DEC_
UNDERFLOW