-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Non IEEE-754 compliant compile-time floating-point optimisations -- @package fast-math @version 1.0.2 -- | IEEE 754 math makes a distrinction between -0.0 and +0.0. This module -- contains RULES that ignore this distinction. -- -- Importing this module is similar to compiling with gcc's -- -fno-signed-zeros. module Numeric.FastMath.SignedZeros -- | This module contains rules that break the way NaN is handled for -- Float and Double types. Still, these rules should be -- safe in the vast majority of applications. -- -- Importing this module is similar to compiling with gcc's -- -fno-signaling-nans and -ffinite-math-only. module Numeric.FastMath.NaN -- | This module contains rewrite rules that may change the lowest order -- bits of a computation. They take advantage of: -- -- -- -- 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. module Numeric.FastMath.Approximation -- | This module loads all rewrite rules. Unless you know that some rules -- will be unsafe for your application, this is the module you should -- load. Importing this module is roughly equivalent to gcc's -- -ffast-math compilation flag. -- -- The best way to figure out what optimizations these modules do is by -- looking at the source code. RULES pragmas are surprisingly readable. module Numeric.FastMath