libmpdec — mpdecimal 4.0.1 documentation (original) (raw)
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.
- Function Index
- Context
- Context Functions
- Decimals
- Assignment, Conversions, I/O
- Attributes of a Decimal
- Arithmetic Functions
- Basic Arithmetic
* add
* subtract
* multiply
* divide
* fused-multiply-add - Integer Division
* divide-integer
* remainder
* remainder-near
* divmod - Powers and Logarithms
* exp
* ln
* log10
* power
* square-root
* inverse-square-root - Sign and Absolute
* minus
* plus
* abs - Comparisons
* compare
* compare-signal
* compare-total
* compare-total-magnitude
* cmp
* cmp-total
* cmp-total-magnitude
* max
* max-mag
* min
* min-mag - Closest Numbers
* next-minus
* next-plus
* next-toward - Quantizing and Normalizing
* quantize
* rescale
* same-quantum
* reduce - Integral Values
* round-to-integral-exact
* round-to-integral-value
* floor
* ceiling
* truncate - Scale
* logb
* scaleb - Integer Functions
* powmod
- Basic Arithmetic
- Various Functions
- Advanced Memory Handling