3. Alphabetical Listing of all Routines

E

Description: E = 2.718281828459045235



abs

Syntax: a = abs(x)
Description: Returns the absolute value of the number.



arccosh

Syntax: a = arccosh(x)
Description: Returns the hyperbolic arccosine of x.



arcsinh

Syntax: a = arcsinh(x)
Description: Returns the hyperbolic arcsine of x.



arctanh

Syntax: a = arctanh(x)
Description: Returns the hyperbolic arctangent of x.



ceil

Syntax: a = ceil(x)
Description: Rounds number towards positive infinity (opposite of Euphoria's floor()).



cosh

Syntax: a = cosh(x)
Description: Returns the hyperbolic cosine of x.



fraction

Syntax: a = fraction(x), ...
Description: Returns the fraction part of the number (e.g. fraction(3.14) returns 0.14).



log10

Syntax: a = log10(x)
Description: Calculates log base 10 of x.



log2

Syntax: a = log2(x)
Description: Calculates log base 2 of x.



max

Syntax: a = max(s)
Description: Returns the element with the largest value in s.
Comments: To use max to compare two atoms, enclose their values in braces( eg, a = max({x, y}) ).



min

Syntax: a = min(s)
Description: Returns the element with the smallest value in s.
Comments: To use min to compare two atoms, enclose their values in braces( eg, a = min({x, y}) ).



multiply_all

Syntax: a = multiply_all(s)
Description: Multiplies all elements of s.



round

Syntax: a = round(x)
Description: Rounds number towards nearest whole number.



sign

Syntax: a = sign(x)
Description: Returns 1 for positive numbers, -1 for negative numbers, and 0 for 0.



sinh

Syntax: a = sinh(x)
Description: Returns the hyperbolic sine of x.



sum

Syntax: a = sum(s), ...
Description: Adds all elements of s together.



tanh

Syntax: a = tanh(x)
Description: Returns the hyperbolic tangent of x.



truncate

Syntax: a = truncate(x), ...
Description: Returns the non-fraction part of the number (e.g. truncate(3.14) returns 3).