LIBMPDEC(3) Programmer's Manual LIBMPDEC(3)

# [NAME](#NAME)

libmpdec - 4.0.1

# [SYNOPSIS](#SYNOPSIS)

```
C library for correctly rounded arbitrary precision decimal floating-point
arithmetic.
```

# [DESCRIPTION](#DESCRIPTION)

```
The libmpdec library is part of mpdecimal and fully implements the General
Decimal Arithmetic Specification, see:


   https://speleotrove.com/decimal/decarith.html
As described in the scope section of the specification, the library conforms
- with minor restrictions - to the IEEE 754-2008 Standard for Floating-Point
Arithmetic if the context is initialized with the appropriate parameters.
Depending on the distribution, complete HTML documentation is available in the
mpdecimal-doc package or at:


   https://www.bytereef.org/mpdecimal/index.html
```

# [SEE ALSO](#SEE_ALSO)

mpdecimal.3, libmpdec++.3

2025-05-01 mpdecimal-4.0.1

---

Document: libmpdec(3) from mpdecimal 4.0.1-r5 (Chainguard OS)
Source: https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-4.0.1.tar.gz
