fast-math: Non IEEE-754 compliant compile-time floating-point optimisations
The Numeric.FastMath module brings into scope RULES for Floats and
Doubles that rewrite x-x, 0*x and x*0 to 0. This disagrees
with IEEE-754 when x is NaN, but is acceptable for most
applications.
Importing Numeric.FastMath.Infinitesimal also rewrites 0/x to 0.
Optimisation (at least -O1) must be enabled for any RULES to take effect.
Downloads
- fast-math-0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.1, 1.0, 1.0.1, 1.0.2 |
|---|---|
| Dependencies | base (>=3 && <5) [details] |
| License | BSD-3-Clause |
| Copyright | © 2011, Liyang HU |
| Author | Liyang HU |
| Maintainer | fast-math@liyang.hu |
| Uploaded | by LiyangHu at 2011-05-08T09:35:05Z |
| Category | Math, Numeric |
| Distributions | LTSHaskell:1.0.2, NixOS:1.0.2, Stackage:1.0.2 |
| Reverse Dependencies | 2 direct, 32 indirect [details] |
| Downloads | 9588 total (11 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] |