Welcome to the Creatures Wiki! Log in and join the community.
ACOS
From Creatures Wiki
ACOS is a CAOS function equivalent to the mathematical arccosine.
Contents
Usage[edit]
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[edit]
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.
This article about a CAOS command or function needs further examples. |