Skip to content

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 04 Sep 11:07
· 7 commits to main since this release
v0.1.0
5808320

First release: Dec, a fixed-scale decimal backed by an i128 with
Dec::SCALE decimal places, with parsing, formatting, arithmetic, rounding,
and optional serde and rust_decimal support.

Arithmetic is exact over a symmetric finite range of roughly +/-1.7e20.
Anything leaving it becomes Dec::NAN, which propagates through every later
operation so the fault reaches the boundary where Dec::is_finite is checked,
rather than being clamped to a plausible number or raised as a panic on a hot
path. The ordering stays total, so Dec remains usable as a map key and in a
sorted book. See the design module for the reasoning.