pub static asin: AsinInternalTypeExpand description
The inverse of sin(), returns the arc sine of a value. This function expects the values in the range of -1 to 1 and values are returned in the range -PI/2 to PI/2 if the angleMode is RADIANS or -90 to 90 if the angle mode is DEGREES.
Examples
let a = PI / 3.0;
let s = sin(a);
let as = asin(s);
// Prints: "1.0471975 : 0.86602540 : 1.0471975"
print(a + ' : ' + s + ' : ' + as);let a = PI + PI / 3.0;
let s = sin(a);
let as = asin(s);
// Prints: "4.1887902 : -0.86602540 : -1.0471975"
print(a + ' : ' + s + ' : ' + as);Parameters
value the value whose arc sine is to be returned