Calculates the arc cosine of a number.
acos() is the inverse of cos(). It expects arguments in the range -1 to 1. By default, acos() returns values in the range 0 to π (about 3.14). If the angleMode() is DEGREES, then values are returned in the range 0 to 180.
示例
语法
acos(value)
参数
value
Number:
value whose arc cosine is to be returned.
返回值
Number: arc cosine of the given value.
This page is generated from the comments in src/math/trigonometry.js . Please feel free to edit it and submit a pull request!