Skip to main content

Fields

The number on the right of each row is the protobuf field number.
louint641
Low 64 bits of the 96-bit mantissa.
hiuint322
High 32 bits of the 96-bit mantissa.
scaleuint323
Number of decimal digits after the point, i.e. the power of ten the mantissa is divided by. At most 28.
negativebool4
True when the value is negative.
Decode via an exact decimal type, never a float. In Python the E-notation form is exact regardless of the decimal context’s precision, and faster than dividing by 10^scale:
In Rust, with the rust_decimal crate:
Last modified on October 1, 2026