Module calc
Expand description
Calculations and processing of numeric values.
Structs§
- A value of which the absolute value can be taken.
Enums§
- A value that can be passed to a trigonometric function.
- A value which can be passed to functions that work with integers, floats, and decimals.
- A value which can be passed to functions that work with integers and floats.
Functions§
- Calculates the absolute value of a numeric value.
- Calculates the arccosine of a number.
- Calculates the arcsine of a number.
- Calculates the arctangent of a number.
- Calculates the four-quadrant arctangent of a coordinate.
- Calculates a binomial coefficient.
- Rounds a number up to the nearest integer.
- Clamps a number between a minimum and maximum value.
- Calculates the cosine of an angle.
- Calculates the hyperbolic cosine of a hyperbolic angle.
- Performs euclidean division of two numbers.
- Determines whether an integer is even.
- Raises a value to some exponent of e.
- Calculates the factorial of a number.
- Rounds a number down to the nearest integer.
- Returns the fractional part of a number.
- Calculates the greatest common divisor of two integers.
- Calculates the least common multiple of two integers.
- Calculates the natural logarithm of a number.
- Calculates the logarithm of a number.
- Determines the maximum of a sequence of values.
- Determines the minimum of a sequence of values.
- A module with calculation definitions.
- Calculates the p-norm of a sequence of values.
- Determines whether an integer is odd.
- Calculates a permutation.
- Raises a value to some exponent.
- Calculates the quotient (floored division) of two numbers.
- Calculates the remainder of two numbers.
- This calculates the least nonnegative remainder of a division.
- Calculates the real nth root of a number.
- Rounds a number to the nearest integer away from zero.
- Calculates the sine of an angle.
- Calculates the hyperbolic sine of a hyperbolic angle.
- Calculates the square root of a number.
- Calculates the tangent of an angle.
- Calculates the hyperbolic tangent of an hyperbolic angle.
- Returns the integer part of a number.