Welcome to the Creatures Wiki! Log in and join the community.

ASIN

From Creatures Wiki
Jump to: navigation, search

ASIN is a CAOS function equivalent to the mathematical arcsine.

Usage[edit]

Syntax: ASIN s (float)

Returns, as a float in degrees, the arcsine of s, i.e. the angle whose sine is s. It is the inverse of SIN_.

Domain and range[edit]

s must be between -1 and 1. Calling ASIN with values outside this domain will return NaN, which is a special float value. ASIN returns a value between -90 and 90.

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

See also[edit]

  • SIN_
  • ACOS and ATAN, the other inverse trigonometric functions

References[edit]