logo
  • Search
  • Reddit Posts 🔥
  • Archive
  • GitHub

A real fixed-point decimal crate

99 points hellowub 2025-06-16 06:29:48 23 comments
View on Reddit ↗ External link ↗

Although there are already some decimal crates also claim to be fixed-point,
such as bigdecimal, rust_decimal and decimal-rs,
they all bind the scale to each decimal instance, which changes during operations.
They're more like decimal floating point.

This crate primitive_fixed_point_decimal
provides real fixed-point decimal types.

© 2025 Query.rs, built by Folyd with ❤️❤️, see about page to learn more · meiguo.app · aiberm.com