Portability | FFI |
---|---|
Stability | provisional |
Maintainer | Don Stewart <dons@galois.com> |
- acos :: Double -> Double
- c_acos :: CDouble -> CDouble
- asin :: Double -> Double
- c_asin :: CDouble -> CDouble
- atan :: Double -> Double
- c_atan :: CDouble -> CDouble
- atan2 :: Double -> Double -> Double
- c_atan2 :: CDouble -> CDouble -> CDouble
- cos :: Double -> Double
- c_cos :: CDouble -> CDouble
- sin :: Double -> Double
- c_sin :: CDouble -> CDouble
- tan :: Double -> Double
- c_tan :: CDouble -> CDouble
- cosh :: Double -> Double
- c_cosh :: CDouble -> CDouble
- sinh :: Double -> Double
- c_sinh :: CDouble -> CDouble
- tanh :: Double -> Double
- c_tanh :: CDouble -> CDouble
- exp :: Double -> Double
- c_exp :: CDouble -> CDouble
- frexp :: Double -> (Double, Int)
- c_frexp :: CDouble -> Ptr CInt -> IO Double
- ldexp :: Double -> Int -> Double
- c_ldexp :: CDouble -> CInt -> Double
- log :: Double -> Double
- c_log :: CDouble -> CDouble
- log10 :: Double -> Double
- c_log10 :: CDouble -> CDouble
- modf :: Double -> (Double, Double)
- c_modf :: CDouble -> Ptr CDouble -> IO CDouble
- pow :: Double -> Double -> Double
- c_pow :: CDouble -> CDouble -> CDouble
- sqrt :: Double -> Double
- c_sqrt :: CDouble -> CDouble
- ceil :: Double -> Double
- c_ceil :: CDouble -> CDouble
- fabs :: Double -> Double
- c_fabs :: CDouble -> CDouble
- floor :: Double -> Double
- c_floor :: CDouble -> CDouble
- fmod :: Double -> Double -> Double
- c_fmod :: CDouble -> CDouble -> CDouble
- round :: Double -> Double
- c_round :: CDouble -> CDouble
- trunc :: Double -> Double
- c_trunc :: CDouble -> CDouble
Documentation
acos :: Double -> DoubleSource
The acos function computes the principal value of the arc cosine of x in the range [0, pi]
asin :: Double -> DoubleSource
The asin function computes the principal value of the arc sine of x in the range [-pi2, +pi2].
atan :: Double -> DoubleSource
The atan function computes the principal value of the arc tangent of x in the range [-pi2, +pi2].
atan2 :: Double -> Double -> DoubleSource
The atan2 function computes the principal value of the arc tangent of y/x, using the signs of both arguments to determine the quadrant of the return value.
The cos function computes the cosine of x (measured in radians). A large magnitude argument may yield a result with little or no significance. For a discussion of error due to roundoff, see math(3).
The sin function computes the sine of x (measured in radians). A large magnitude argument may yield a result with little or no significance. For a discussion of error due to roundoff, see math(3).
The tan function computes the tangent of x (measured in radians). A large magnitude argument may yield a result with little or no significance. For a discussion of error due to roundoff, see math(3).
The exp() function computes the exponential value of the given argument x.
frexp :: Double -> (Double, Int)Source
frexp convert floating-point number to fractional and integral components frexp is not defined in the Haskell 98 report.
ldexp :: Double -> Int -> DoubleSource
The ldexp function multiplies a floating-point number by an integral power of 2. ldexp is not defined in the Haskell 98 report.
The log() function computes the value of the natural logarithm of argument x.
log10 :: Double -> DoubleSource
The log10 function computes the value of the logarithm of argument x to base 10. log10 is not defined in the Haskell 98 report.
modf :: Double -> (Double, Double)Source
The modf function breaks the argument value into integral and fractional parts, each of which has the same sign as the argument. modf is not defined in the Haskell 98 report.
ceil :: Double -> DoubleSource
The ceil function returns the smallest integral value greater than or equal to x.
fabs :: Double -> DoubleSource
The fabs function computes the absolute value of a floating-point number x.
floor :: Double -> DoubleSource
The floor function returns the largest integral value less than or equal to x.
fmod :: Double -> Double -> DoubleSource
The fmod function computes the floating-point remainder of x / y.