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

ASIN

From Creatures Wiki
Revision as of 13:36, 18 February 2006 by Alexwatson (talk)
Jump to navigation Jump to search

ASIN is a CAOS function equivalent to the mathematical arcsine.

Usage

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

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

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

References