Fixed point, large word, and large int numerical representations (types and common class instances) https://github.com/TomMD/FixedPoint
|Latest on Hackage:||0.6.1|
This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
This library uses elementary techniques to implement fixed point types in terms of basic integrals such as Word64. All mathematical operations are implemented explicilty, instead of lifting to Integer, so that this code can be used for educational purposes or as a basis for fixed point libraries in other languages.