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

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 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