MoonBit arbitrary-precision decimal library for exact arithmetic
It implements the General Decimal Arithmetic specification, offering exact base‑10 operations, proper rounding, and full status flags. The library supplies a rich set of arithmetic, comparison, conversion, and mathematical functions, all driven by an explicit Context for deterministic precision. It serves MoonBit developers needing reliable decimal calculations, such as financial or scientific code, and stands out as one of the few native MoonBit decimal implementations.
View on GitHub →DzmingLi/moonbit-decimal