safe-decimal

Safe and very efficient arithmetic operations on fixed decimal point numbers

https://github.com/fpco/safe-decimal#readme

Version on this page:0.1.0.0@rev:1
LTS Haskell 22.21:0.2.1.0
Stackage Nightly 2024-05-11:0.2.1.0
Latest on Hackage:0.2.1.0

See all snapshots safe-decimal appears in

BSD-3-Clause licensed by Alexey Kuleshevich
Maintained by [email protected]
This version can be pinned in stack with:safe-decimal-0.1.0.0@sha256:4367ad0954689f5bd1034f470374f50059b2345a73e5a5f34900aa5c846b8910,1520

Module documentation for 0.1.0.0

safe-decimal

An implementation of a decimal point data type, that is backed by any custom integral type. It is safe, because all runtime exceptions and integer overflows are prevented on arithmetic operations, namely things like integer overflows, underflows, division by zero etc. are checked for during the runtime.

Changes

Changelog for decimal64

Unreleased changes