safe-decimal: Safe and very efficient arithmetic operations on fixed decimal point numbers

[ bsd3, library, math, numeric, numerical ] [ Propose Tags ]

Please see the README on GitHub at

[Skip to Readme]
Versions [RSS] [faq],,
Change log
Dependencies base (>=4.8 && <5), deepseq, exceptions, scientific [details]
License BSD-3-Clause
Copyright 2018-2019 FP Complete
Author Alexey Kuleshevich
Revised Revision 1 made by HerbertValerioRiedel at 2019-04-26T07:49:04Z
Category Math, Numeric, Numerical
Home page
Bug tracker
Source repo head: git clone
Uploaded by lehins at 2019-04-26T01:05:07Z
Distributions LTSHaskell:, NixOS:, Stackage:
Downloads 1146 total (66 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-04-26 [all 1 reports]


[Index] [Quick Jump]


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


Readme for safe-decimal-

[back to package description]


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.