decimal128 floating-point format
| Floating-point formats |
|---|
| IEEE 754 |
|
| Other |
| Alternatives |
In computing, decimal128 is a decimal floating-point number format defined by the IEEE 754 Standard for Floating-Point Arithmetic. It is one of the standard's basic interchange formats, designed to offer exact decimal representation with high precision, intended for applications such as financial and tax computations where decimal rounding must be reproduced exactly. Introduced in IEEE 754-2008 and retained in IEEE 754-2019, decimal128 encodes a sign, a base-10 significand, and an exponent into 128 bits (16 bytes). The exponent provides an extremely wide dynamic range, so that 34-digit precision, not range, is the notable characteristic of decimal128.