Mathematical functions

    Returns a Float64 number that is close to the number e.

    pi()

    Returns a Float64 number that is close to the number π.

    exp(x)

    Accepts a numeric argument and returns a Float64 number close to the exponent of the argument.

    log(x), ln(x)

    Accepts a numeric argument and returns a Float64 number close to the natural logarithm of the argument.

    exp2(x)

    Accepts a numeric argument and returns a Float64 number close to 2 to the power of x.

    log2(x)

    Accepts a numeric argument and returns a Float64 number close to the binary logarithm of the argument.

    exp10(x)

    Accepts a numeric argument and returns a Float64 number close to 10 to the power of x.

    sqrt(x)

    Accepts a numeric argument and returns a Float64 number close to the square root of the argument.

    cbrt(x)

    Accepts a numeric argument and returns a Float64 number close to the cubic root of the argument.

    erf(x)

    If ‘x’ is non-negative, then erf(x / σ√2) is the probability that a random variable having a normal distribution with standard deviation ‘σ’ takes the value that is separated from the expected value by more than ‘x’.

    Example (three sigma rule):

    erfc(x)

    Accepts a numeric argument and returns a Float64 number close to 1 - erf(x), but without loss of precision for large ‘x’ values.

    lgamma(x)

    The logarithm of the gamma function.

    tgamma(x)

    Gamma function.

    cos(x)

    The cosine.

    tan(x)

    The tangent.

    asin(x)

    The arc sine.

    acos(x)

    The arc cosine.

    atan(x)

    The arc tangent.

    pow(x, y), power(x, y)

    Takes two numeric arguments x and y. Returns a Float64 number close to x to the power of y.

    Accepts a numeric argument and returns a UInt64 number close to 2 to the power of x.

    intExp10