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 https://github.com/fpco/safe-decimal#readme


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.2.0.0, 0.2.1.0
Change log ChangeLog.md
Dependencies base (>=4.8 && <5), deepseq, exceptions, scientific [details]
License BSD-3-Clause
Copyright 2018-2019 FP Complete
Author Alexey Kuleshevich
Maintainer alexey@fpcomplete.com
Category Math, Numeric, Numerical
Home page https://github.com/fpco/safe-decimal#readme
Bug tracker https://github.com/fpco/safe-decimal/issues
Source repo head: git clone https://github.com/fpco/safe-decimal
Uploaded by lehins at 2020-02-06T17:24:25Z
Distributions LTSHaskell:0.2.1.0, NixOS:0.2.1.0, Stackage:0.2.1.0
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 1830 total (18 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-02-06 [all 1 reports]

Readme for safe-decimal-0.2.0.0

[back to package description]

safe-decimal

Language Travis
GitHub top language Travis
Package Hackage Nightly LTS
safe-decimal Hackage Nightly Nightly

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