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

[ bsd3, library, math, numeric ] [ Propose Tags ]

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.

Versions [faq] 0.1, 1.0, 1.0.1, 1.0.2
Dependencies base (>=3 && <4.8.1) [details]
License BSD-3-Clause
Copyright © 2011, Liyang HU
Author Liyang HU and Mike Izbicki
Revised Revision 1 made by HerbertValerioRiedel at 2015-07-30T08:29:01Z
Category Math, Numeric
Source repo head: git clone
Uploaded by MikeIzbicki at 2014-06-02T22:31:31Z
Distributions LTSHaskell:1.0.2, NixOS:1.0.2, Stackage:1.0.2
Downloads 5475 total (86 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]




Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees