# Arcsine
Grammar — Asin(x)
Flags —Native
|Function
Returns the arcsine of a number. Allowed range is -1 to 1. The returned value is given in degrees.
# Arguments
fixed
— Value
Returns — fixed
native fixed ASin(fixed x);
# Related
Category: Math / Trigonometry
- [F] —
fixed
— Sine — ( Sin ) - [F] —
fixed
— Cosine — ( Cos ) - [F] —
fixed
— Tangent — ( Tan ) - [F] —
fixed
— Arcsine — ( ASin ) - [F] —
fixed
— Arccosine — ( ACos ) - [F] —
fixed
— Arctangent From Deltas — ( ATan2 ) - [F] —
fixed
— Arctangent From Value — ( ATan )
# Examples
# mods/starcoop/starcoop.sc2mod
// L6713
ASin(((lv_distanceBetweenPoints / 2.0) / lv_radiusIter))
// L6801
ASin(((lv_distanceBetweenPoints / 2.0) / lv_radiusIter))
// L6897
ASin(((lv_distanceBetweenPoints / 2.0) / lv_radiusIter))