fixed-precision: Fixed Precision Arithmetic

[ bsd3, library, math ] [ Propose Tags ] [ Report a vulnerability ]

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)

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.2.0, 0.2.0.1, 0.3.0, 0.4.0
Dependencies base (>=4 && <5), hmpfr (>=0.3.1 && <0.4), integer-gmp (>=0.2.0 && <0.3), reflection (>=0.3.0 && <0.4), tagged (>=0.0 && <0.1), template-haskell (>=2.4.0 && <2.5) [details]
License BSD-3-Clause
Author Edward Kmett
Maintainer ekmett@gmail.com
Category Math
Home page http://github.com/ekmett/fixed-precision
Uploaded by EdwardKmett at 2010-06-15T22:44:29Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 3658 total (5 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]