Module kcl_lib::std::math

source ·
Expand description

Functions related to mathematics.

Functions§

  • Computes the absolute value of a number.
  • Computes the arccosine of a number (in radians).
  • Computes the arcsine of a number (in radians).
  • Computes the arctangent of a number (in radians).
  • Computes the smallest integer greater than or equal to a number.
  • Computes the cosine of a number (in radians).
  • Return the value of Euler’s number e.
  • Computes the largest integer less than or equal to a number.
  • Computes the natural logarithm of the number.
  • Computes the logarithm of the number with respect to an arbitrary base.
  • Computes the base 2 logarithm of the number.
  • Computes the base 10 logarithm of the number.
  • Computes the maximum of the given arguments.
  • Computes the minimum of the given arguments.
  • Return the value of pi. Archimedes’ constant (π).
  • Computes the number to a power.
  • Computes the sine of a number (in radians).
  • Computes the square root of a number.
  • Computes the tangent of a number (in radians).
  • Return the value of tau. The full circle constant (τ). Equal to 2π.
  • Converts a number from radians to degrees.
  • Converts a number from degrees to radians.