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]
Versions [faq] 0.1.0.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
Revised Revision 1 made by HerbertValerioRiedel at Fri Apr 26 07:49:04 UTC 2019
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 Fri Apr 26 01:05:07 UTC 2019
Distributions NixOS:0.1.0.0
Downloads 68 total (8 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-04-26 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

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-0.1.0.0

[back to package description]

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.