fixed-precision

Fixed Precision Arithmetic http://github.com/ekmett/fixed-precision

Latest on Hackage:0.4.0

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.

BSD3 licensed by Edward Kmett
Maintained by ekmett@gmail.com

Numeric instances for MPFR that use the "Implicit Configurations" from http://www.cs.rutgers.edu/~ccshan/prepose/prepose.pdf to choose a Rounding and Precision. For those that do not want to use reflection, explicit instances are provided for common precisions and for the built-in rounding modes.

sin pi :: Fixed Down Double
fixed Near 256 (sin pi)
comments powered byDisqus