Creatures Wiki
Advertisement
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

ACOS is a CAOS function equivalent to the mathematical arccosine.

Usage

Syntax: ACOS c (float)

Returns, as a float in degrees, the arccosine of c, i.e. the angle whose cosine is c. It is the inverse of COS_.

Domain and range

c must be between -1 and 1. Calling ACOS with values outside this domain will return NaN, which is a special float value. ACOS returns, in contrast to the other inverse trigonometric functions, a value between 0 and 180.

Editnorn This article about a CAOS command or function needs further examples.

See also

  • COS_
  • ASIN and ATAN, the other inverse trigonometric functions

References

Advertisement