Generic numbers, functions and operators. By opening this module some common operators become restricted, like (+) to 'T->'T->'T
Modules | Description |
Function or value | Description |
Full Usage:
a * b
Parameters:
^Num
b : ^Num
Returns: ^Num
Modifiers: inline Type parameters: ^Num |
|
Full Usage:
a + b
Parameters:
^Num
b : ^Num
Returns: ^Num
Modifiers: inline Type parameters: ^Num |
|
Full Usage:
a - b
Parameters:
^Num
b : ^Num
Returns: ^Num
Modifiers: inline Type parameters: ^Num |
|
Full Usage:
a / b
Parameters:
^Fractional
b : ^Fractional
Returns: ^Fractional
Modifiers: inline Type parameters: ^Fractional |
|
Full Usage:
div a b
Parameters:
^Integral
b : ^Integral
Returns: ^Integral
Modifiers: inline Type parameters: ^Integral |
|
Full Usage:
divE a b
Parameters:
^Integral
b : ^Integral
Returns: ^Integral
Modifiers: inline Type parameters: ^Integral |
|
Full Usage:
divRemE D d
Parameters:
^a
d : ^a
Returns: ^a * ^a
Modifiers: inline |
|
Full Usage:
fromIntegral x
Parameters:
^Integral
Returns: ^Num
Modifiers: inline Type parameters: ^Integral, ^Num |
|
Full Usage:
gcd x y
Parameters:
^Integral
y : ^Integral
Returns: ^Integral
Modifiers: inline Type parameters: ^Integral |
|
Full Usage:
rem a b
Parameters:
^Integral
b : ^Integral
Returns: ^Integral
Modifiers: inline Type parameters: ^Integral |
|
Full Usage:
remE a b
Parameters:
^Integral
b : ^Integral
Returns: ^Integral
Modifiers: inline Type parameters: ^Integral |