| Safe Haskell | Safe | 
|---|---|
| Language | Haskell2010 | 
Num.Floating
Synopsis
- class Fractional a => Floating a where
 
Documentation
class Fractional a => Floating a where #
Trigonometric and hyperbolic functions and related functions.
Minimal complete definition
pi, exp, log, sin, cos, asin, acos, atan, sinh, cosh, asinh, acosh, atanh
Methods
(**) :: a -> a -> a infixr 8 #
 computes log1p x, but provides more precise
 results for small (absolute) values of log (1 + x)x if possible.
Since: base-4.9.0.0
 computes expm1 x, but provides more precise
 results for small (absolute) values of exp x - 1x if possible.
Since: base-4.9.0.0