[ESL - Index ]
includes : numtypes.e new
All routines in this module should operate on sequences of numbers as well as on single numbers (atoms), see Operations on Sequences.
(NOTE: Should use stuff from genfunc.zip in the archive)
E = 2.718281828459045235
(18 decimal places, like PI in misc.e)
Status: proposed
a = ceil(x)
Rounds number towards positive infinity (opposite of Euphoria's floor()).
Status: proposed
a = round(x)
Rounds number towards nearest whole number.
Status: proposed
a = fraction(x)
Returns the fraction part of the number (e.g.
fraction(3.14) returns 0.14).
Status: proposed
a = truncate(x)
Returns the non-fraction part of the number (e.g.
truncate(3.14) returns 3).
Status: proposed
a = abs(x)
Returns the absolute value of the number.
Status: proposed
a = sign(x)
Returns 1 for positive numbers, -1 for negative numbers, and 0 for 0.
Status: proposed
a = add_all(s)
or
a = sum(s)
or
a = sum_elements(s)
or
a = sum_sequence(s)
Adds all elements of s.
Status: proposed
a = multiply_all(s)
or
a = product(s)
or
a = product_elements(s)
or
a = product_sequence(s)
Multiplies all elements of s.
Status: proposed
a = min(s)
Returns the minimum value from s.
Status: proposed
a = max(s)
Returns the maximum value from s.
Status: proposed
a = log10(x)
Log base 10 of x.
Status: proposed
a = sinh(x)
[description] ** new
Status: proposed
a = cosh(x)
[description] ** new
Status: proposed
a = tanh(x)
[description] ** new
Status: proposed
a = arcsinh(x)
[description] ** new
Status: proposed
a = arccosh(x)
[description] ** new
Status: proposed
a = arctanh(x)
[description] ** new
Status: proposed