HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

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