7.1. Module com.io7m.parasol.Boolean | 7. Standard Library Reference | 7.3. Module com.io7m.parasol.Integer |
Previous | Up | Next |
Module com.io7m.parasol.Float
absolute
Return the absolute value of x.
arc_cosine
Return the arc cosine acos(x).
arc_sine
Return the arc sine asin(x).
arc_tangent
Return the arc tangent atan(x).
ceiling
Return a value equal to the nearest integer that is greater than or equal to x.
clamp
Return x constrainted to the range [min, max].
cosine
Return the cosine cos(x).
divide
Return the division x / y. The result is only defined if y > 0.
floor
Return a value equal to the nearest integer that is less than or equal to x.
interpolate
Return a linearly interpolated value in the range [x, y]
given by (x ✕ (1 - a)) + (y ✕ a).
is_infinite
Return true iff x == infinity.
is_nan
Return true iff x is not a number.
log2
Return the base 2 logarithm of x.
maximum
Return the maximum value of x and y.
minimum
Return the minimum value of x and y.
modulo
Return the value of x mod y.
multiply
Return the value of x ✕ y.
round
Return the value of the nearest integer to x.
sign
Return 0.0 iff x == 0.0,
1.0 iff x > 0.0, and
-1.0 otherwise.
square_root
Return the square root of x.
subtract
Return the value of of x - y.
tangent
Return the tangent tan(x).
truncate
Return the nearest integer to x whose absolute value is
not greater than the absolute value of x.
Previous | Up | Next |
7.1. Module com.io7m.parasol.Boolean | 7. Standard Library Reference | 7.3. Module com.io7m.parasol.Integer |