{-# LANGUAGE TypeSynonymInstances #-}
module Foundation.Math.Trigonometry
( Trigonometry(..)
) where
import Basement.Compat.Base
import qualified Prelude
class Trigonometry a where
pi :: a
sin :: a -> a
cos :: a -> a
tan :: a -> a
asin :: a -> a
acos :: a -> a
atan :: a -> a
sinh :: a -> a
cosh :: a -> a
tanh :: a -> a
asinh :: a -> a
acosh :: a -> a
atanh :: a -> a
instance Trigonometry Float where
pi :: Float
pi = forall a. Floating a => a
Prelude.pi
sin :: Float -> Float
sin = forall a. Floating a => a -> a
Prelude.sin
cos :: Float -> Float
cos = forall a. Floating a => a -> a
Prelude.cos
tan :: Float -> Float
tan = forall a. Floating a => a -> a
Prelude.tan
asin :: Float -> Float
asin = forall a. Floating a => a -> a
Prelude.asin
acos :: Float -> Float
acos = forall a. Floating a => a -> a
Prelude.acos
atan :: Float -> Float
atan = forall a. Floating a => a -> a
Prelude.atan
sinh :: Float -> Float
sinh = forall a. Floating a => a -> a
Prelude.sinh
cosh :: Float -> Float
cosh = forall a. Floating a => a -> a
Prelude.cosh
tanh :: Float -> Float
tanh = forall a. Floating a => a -> a
Prelude.tanh
asinh :: Float -> Float
asinh = forall a. Floating a => a -> a
Prelude.asinh
acosh :: Float -> Float
acosh = forall a. Floating a => a -> a
Prelude.acosh
atanh :: Float -> Float
atanh = forall a. Floating a => a -> a
Prelude.atanh
instance Trigonometry Double where
pi :: Double
pi = forall a. Floating a => a
Prelude.pi
sin :: Double -> Double
sin = forall a. Floating a => a -> a
Prelude.sin
cos :: Double -> Double
cos = forall a. Floating a => a -> a
Prelude.cos
tan :: Double -> Double
tan = forall a. Floating a => a -> a
Prelude.tan
asin :: Double -> Double
asin = forall a. Floating a => a -> a
Prelude.asin
acos :: Double -> Double
acos = forall a. Floating a => a -> a
Prelude.acos
atan :: Double -> Double
atan = forall a. Floating a => a -> a
Prelude.atan
sinh :: Double -> Double
sinh = forall a. Floating a => a -> a
Prelude.sinh
cosh :: Double -> Double
cosh = forall a. Floating a => a -> a
Prelude.cosh
tanh :: Double -> Double
tanh = forall a. Floating a => a -> a
Prelude.tanh
asinh :: Double -> Double
asinh = forall a. Floating a => a -> a
Prelude.asinh
acosh :: Double -> Double
acosh = forall a. Floating a => a -> a
Prelude.acosh
atanh :: Double -> Double
atanh = forall a. Floating a => a -> a
Prelude.atanh