Trigonometric and hyperbolic functions and related functions.
The Haskell Report defines no laws for Floating. However, (+), (*)
and exp are customarily expected to define an exponential field and have
the following properties:
exp (a + b)=exp a * exp bexp (fromInteger 0)=fromInteger 1
Methods
pi :: aexp :: a -> alog :: a -> asqrt :: a -> a(**) :: a -> a -> ainfixr 8logBase :: a -> a -> asin :: a -> acos :: a -> atan :: a -> aasin :: a -> aacos :: a -> aatan :: a -> asinh :: a -> acosh :: a -> atanh :: a -> aasinh :: a -> aacosh :: a -> aatanh :: a -> alog1p :: a -> aexpm1 :: a -> alog1pexp :: a -> alog1mexp :: a -> a
Instances7Floating, …
Floating CDoubleDefined in ghc-internal-9.1003.0 · GHC.Internal.Foreign.C.TypesFloating CFloatDefined in ghc-internal-9.1003.0 · GHC.Internal.Foreign.C.TypesFloating DoubleDefined in ghc-internal-9.1003.0 · GHC.Internal.FloatFloating FloatDefined in ghc-internal-9.1003.0 · GHC.Internal.FloatFloating a => Floating (Identity a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.Functor.IdentityFloating a => Floating (Down a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.OrdFloating a => Floating (Const a b)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.Functor.Const