libmpdec++¶
libmpdec++ is a C++ library for correctly-rounded arbitrary precision decimal floating point arithmetic. libmpdec++ conforms - with minor restrictions - to the IEEE 754-2008 Standard for Floating-Point Arithmetic, provided that the appropriate context parameters are set.
- Constants
- Exceptions
- Context
- Implicit thread local context
- Context class
Context
Context::Context
Context::Context
Context::Context
Context::Context
Context::Context
Context::operator=
Context::operator=
Context::operator==
Context::operator!=
Context::get
Context::getconst
Context::prec
Context::emax
Context::emin
Context::round
Context::status
Context::traps
Context::clamp
Context::allcr
Context::prec
Context::emax
Context::emin
Context::round
Context::status
Context::traps
Context::clamp
Context::allcr
Context::raise
Context::add_status
Context::clear_status
Context::clear_status
Context::add_traps
Context::clear_traps
Context::clear_traps
Context::repr
Context::operator<<
- Factory functions
- TLS context caveats
- Decimal class
- Exact constructors
- Inexact constructors
- Accessors
- Exact assignment operators
- Inexact assignment operators
- Exact comparison operators
- Exact reverse comparison operators
- Unary arithmetic operators
- Binary arithmetic operators
- Reverse binary arithmetic operators
- Predicates
- Predicates with an optional context argument
- Unary functions, no context argument
- Unary functions, optional context argument
- Binary functions, no context argument
- Binary functions, optional context argument
- Binary functions, two return values
- Ternary functions
- Irregular functions
- Exact integer conversion
- Exact triple conversion
- Exact string conversion
- Inexact string conversion
- Streams
- Required by the specification