(+) |
Num A => A-> |
Prelude |
Addition |
(-) |
Num A => A-> |
Prelude |
Subtraction |
(*) |
Num A => A-> |
Prelude |
Multiplication |
(/) |
Fractional A => A-> |
Prelude |
Fractional Division |
(**) |
Floating A => A-> |
Prelude |
Raise to the power |
(^) |
(Num A, integral B) => A-> B-> |
Prelude |
Raise a number to a non-negative, integral power |
(^) |
(Fractional A, integral B) => A-> B-> |
Prelude |
Raise a fractional number to any integral power |
(%) |
Integral A => A-> Ratio |
Data. Ratio |
Ratio Composition |
(.&.) |
Bits A => A-> |
Data. Bits |
Bitwise AND |
(. | .) |
Bits A => A-> |
Data. Bits |
Bitwise OR |
ABS |
Num A => A-> |
Prelude |
Absolute Value |
Approxrational |
Realfrac A => A-> rational |
Data. Ratio |
Approximate rational composition based on Fractional numerators and denominators |
Cos |
Floating A => A-> |
Prelude |
Cosine. Also provided areACOs ,Cosh , AndAcossh , With the same type. |
Div |
Integral A => A-> |
Prelude |
Integer Division always truncated down; see alsoQuot |
Frominteger |
Num A => integer-> |
Prelude |
Conversion fromInteger To any numeric type |
Fromintegral |
(Integral A, num B) => A-> B |
Prelude |
More general conversion from anyIntegral To any numeric type |
Fromrational |
Fractional A => rational-> |
Prelude |
Conversion fromRational . May be lossy. |
Log |
Floating A => A-> |
Prelude |
Natural logarithm |
Logbase |
Floating A => A-> |
Prelude |
Log with explicit Base |
Maxbound |
Bounded A => |
Prelude |
The maximum value of a bounded type |
Minbound |
Bounded A => |
Prelude |
The minimum value of a bounded type |
MoD |
Integral A => A-> |
Prelude |
Integer Modulus |
Pi |
Floating A => |
Prelude |
Mathematical constant pi |
Quot |
Integral A => A-> |
Prelude |
Integer Division; fractional part of quotient truncated towards zero |
Recip |
Fractional A => A-> |
Prelude |
Reciprocal |
Rem |
Integral A => A-> |
Prelude |
Remainder of Integer Division |
Round |
(Realfrac A, integral B) => A-> B |
Prelude |
Rounds to nearest integer |
Shift |
Bits A => A-> int-> |
Bits |
Shift left by the specified number of BITs, which may be negative for a right shift. |
Sin |
Floating A => A-> |
Prelude |
SINE. Also provided areAsin ,Sinh , AndAsinh , With the same type. |
SQRT |
Floating A => A-> |
Prelude |
Square Root |
Tan |
Floating A => A-> |
Prelude |
Tangent. Also provided areAtan ,Tanh , AndAtanh , With the same type. |
Tointeger |
Integral A => A-> integer |
Prelude |
Convert anyIntegral ToInteger |
Torational |
Real A => A-> rational |
Prelude |
Convert losslesslyRational |
Truncate |
(Realfrac A, integral B) => A-> B |
Prelude |
Truncates number towards zero |
XOR |
Bits A => A-> |
Data. Bits |
Bitwise exclusive or |