A collection of operations on floating point numbers.
pi
:: Float
The number pi. |
(+.)
:: Float -> Float -> Float
Addition on floats. |
(-.)
:: Float -> Float -> Float
Subtraction on floats. |
(*.)
:: Float -> Float -> Float
Multiplication on floats. |
(/.)
:: Float -> Float -> Float
Division on floats. |
(^.)
:: Float -> Int -> Float
The value of `a ^. |
i2f
:: Int -> Float
Conversion function from integers to floats. |
truncate
:: Float -> Int
Conversion function from floats to integers. |
round
:: Float -> Int
Conversion function from floats to integers. |
recip
:: Float -> Float
Reciprocal |
sqrt
:: Float -> Float
Square root. |
log
:: Float -> Float
Natural logarithm. |
logBase
:: Float -> Float -> Float
Logarithm to arbitrary Base. |
exp
:: Float -> Float
Natural exponent. |
sin
:: Float -> Float
Sine. |
cos
:: Float -> Float
Cosine. |
tan
:: Float -> Float
Tangent. |
asin
:: Float -> Float
Arc sine. |
acos
:: Float -> Float
|
atan
:: Float -> Float
Arc tangent. |
sinh
:: Float -> Float
Hyperbolic sine. |
cosh
:: Float -> Float
|
tanh
:: Float -> Float
Hyperbolic tangent. |
asinh
:: Float -> Float
Hyperbolic Arc sine. |
acosh
:: Float -> Float
|
atanh
:: Float -> Float
Hyperbolic Arc tangent. |
The number pi.
|
Addition on floats.
|
Subtraction on floats.
|
Multiplication on floats.
|
Division on floats.
|
The value of
|
Conversion function from integers to floats. |
Conversion function from floats to integers. The result is the closest integer between the argument and 0. |
Conversion function from floats to integers. The result is the nearest integer to the argument. If the argument is equidistant between two integers, it is rounded to the closest even integer value. |
Reciprocal |
Square root. |
Natural logarithm. |
Logarithm to arbitrary Base. |
Natural exponent. |
Sine. |
Cosine. |
Tangent. |
Arc sine. |
|
Arc tangent. |
Hyperbolic sine. |
|
Hyperbolic tangent. |
Hyperbolic Arc sine. |
|
Hyperbolic Arc tangent. |