Concept Framework 1.0 documentation Contents | Index

standard.C.math.asin

Name Version Deprecated
asin version 1.0 no

Prototype:
number asin(number sine)

Parameters:
sine      [in] Value whose arcsine is to be calculated, where -1 <= sine <= 1.

Description:
Returns the arcsine of sine in the range -M_PI/2 to M_PI/2 radians.
If sine is less than -1 or greater than 1, asin returns an indefinite by default.

Example:
import standard.C.math


class Main {
function Main() {
var x = 0;
echo "Arcsine of " + x + " is " + asin(x) + "\n";
echo "Arccosine of " + x + " is " + acos(x);
}
}


Results
Arcsine of 0 is 0
Arccosine of 0 is 1.5707963267948966

Returns:
Returns the arcsine of sine in the range -M_PI/2 to M_PI/2 radians

Documented by Simona Gabriela Plesuvu, generation time: Thu Oct 15 20:02:03 2009 GMT(c)2009 RadGs Software