HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulefast-math-1.0.2Haskell2010

Numeric.FastMath.Approximation

This module contains rewrite rules that may change the lowest order bits of a computation. They take advantage of:

  • distributivity

  • repeated addition/multiplication

  • exponentiation rules

All of these RULES should be safe in the presence of NaN and Infinity

Importing this module is similar to compiling with gcc's -funsafe-math-operations.

    • Packagefast-math-1.0.2
    • Exports0
    • LanguageHaskell2010
    • LicenceBSD-3-Clause
    • SourceApproximation.hs