@nevware21/ts-utils
    Preparing search index...

    Function mathAcos

    The mathAcos() function returns the arccosine of a number.

    0.12.0

    A number between -1 and 1, inclusive

    The arccosine (in radians) of the given number, a value between 0 and π

    mathAcos(0); // 1.5707963267948966 (π/2)
    mathAcos(1); // 0
    mathAcos(-1); // 3.141592653589793 (π)
    mathAcos(0.5); // 1.0471975511965979 (approximately π/3)
    • Returns the arc cosine (or inverse cosine) of a number.

      Parameters

      • x: number

        A numeric expression.

      Returns number