> ## Documentation Index
> Fetch the complete documentation index at: https://docs.turntable.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Math Operations

## math.acos

Return the arc cosine of the expression.

## math.acosh

Return the inverse hyperbolic cosine of the expression.

## math.asin

Return the arc sine of the expression.

## math.asinh

Return the inverse hyperbolic sine of the expression.

## math.atan

Return the arc tangent of the expression.

## math.atan2

Return the two-argument arc tangent of the expression.

<Accordion title="Parameters">
  <ParamField body="other" type="NumericValue" required={true} />
</Accordion>

## math.atanh

Return the inverse hyperbolic tangent of the expression.

## math.cbrt

Return the cube root of the expression.

## math.ceil

Return the smallest integer value not less than the expression.

## math.copysign

Return the expression with the sign of the other expression.

<Accordion title="Parameters">
  <ParamField body="other" type="NumericValue" required={true} />
</Accordion>

## math.cos

Return the cosine of the expression.

## math.cosh

Return the hyperbolic cosine of the expression.

## math.cot

Return the cotangent of the expression.

## math.degrees

Convert radians to degrees.

## math.dist

Return the distance between the expression and the other expression.

<Accordion title="Parameters">
  <ParamField body="other" type="NumericValue" required={true} />

  <ParamField body="type_" type="Literal['Euclidian', 'Manhattan', 'Cosine']" required={true} />
</Accordion>

## math.exp

Return the expression raised to the power of e.

## math.exp2

Return 2 raised to the power of the expression.

## math.expm1

Return e raised to the power of the expression minus 1.

## math.fabs

Return the absolute value of the expression.

## math.floor

Return the largest integer value not greater than the expression.

## math.isclose

Return True if the values are close to each other and False otherwise.

<Accordion title="Parameters">
  <ParamField body="other" type="NumericValue" required={true} />

  <ParamField body="rel_tol" type="float" required={false} default="1e-09" />

  <ParamField body="abs_tol" type="float" required={false} />
</Accordion>

## math.isqrt

Return the integer square root of the expression.

## math.ldexp

Return the expression multiplied by 2 to the power of the other expression.

<Accordion title="Parameters">
  <ParamField body="other" type="NumericValue" required={true} />
</Accordion>

## math.log

Return the logarithm of the expression. If base is specified, then the logarithm will be taken to that base. Otherwise, the natural logarithm is taken.

<Accordion title="Parameters">
  <ParamField body="base" type="NumericValue | None" required={false} />
</Accordion>

## math.log10

Return the base-10 logarithm of the expression.

## math.log2

Return the base-2 logarithm of the expression.

## math.modf

Return the fractional and integer parts of the expression.

## math.norm

Return the L2 norm of the expression.

<Accordion title="Parameters">
  <ParamField body="type_" type="Literal['L1', 'L2']" required={false} default="L2" />
</Accordion>

## math.pow

Return the expression raised to the power of the other expression.

<Accordion title="Parameters">
  <ParamField body="other" type="NumericValue" required={true} />
</Accordion>

## math.prod

Return the product of the expression and the other expressions.

<Accordion title="Parameters">
  <ParamField body="args" type="NumericValue" required={true} />
</Accordion>

## math.radians

Convert degrees to radians.

## math.remainder

Return the remainder of the expression divided by the other expression.

<Accordion title="Parameters">
  <ParamField body="other" type="int | IntegerValue" required={true} />
</Accordion>

## math.round

Round the expression to the specified number of decimal places. If digits is not specified, then the expression is rounded to the nearest integer.

<Accordion title="Parameters">
  <ParamField body="digits" type="int | IntegerValue | None" required={false} />
</Accordion>

## math.sign

Return the sign of the expression.

## math.sin

Return the sine of the expression.

## math.sinh

Return the hyperbolic sine of the expression.

## math.sqrt

Return the square root of the expression.

## math.sumprod

Return the sum of the product of the expression and the other expression.

<Accordion title="Parameters">
  <ParamField body="other" type="NumericValue" required={true} />
</Accordion>

## math.tan

Return the tangent of the expression.

## math.tanh

Return the hyperbolic tangent of the expression.

## math.trunc

Return the truncated value of the expression.
