fast-math: Non IEEE-754 compliant compile-time floating-point optimisations

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

The Numeric.FastMath module brings into scope many unsafe RULES for Floats and Doubles that can greatly improve run time performance. It is roughly equivalent to gcc's -ffast-math compiler flag. Optimisation (at least -O1) must be enabled for any RULES to take effect.

These rules are unsafe because they don't strictly adhere to the IEEE-754 regulations and may subtly change the results of your numeric computations. See the README on github for more details.

Downloads

Maintainer's Corner

Package maintainers

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 and Mike Izbicki
Maintainer fast-math@liyang.hu
Category Math, Numeric
Source repo head: git clone http://github.com/liyang/fast-math
Uploaded by MikeIzbicki at 2015-08-01T22:30:34Z
Distributions LTSHaskell:1.0.2, NixOS:1.0.2, Stackage:1.0.2
Reverse Dependencies 2 direct, 31 indirect [details]
Downloads 9301 total (54 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-08-01 [all 1 reports]