HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

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