asin
warning
This function starts with lowercase letter.
Description
Get the inversed value of an arc sine in radians.
Name | Description |
---|---|
Float:value | the input in arc sine. |
Returns
Value whose arc sine is computed, in the interval [-1,+1]. If the argument is out of this interval, a domain error occurs.
Examples
//The arc sine of 0.500000 is 30.000000 degrees.
public OnGameModeInit()
{
new Float:param, Float:result;
param = 0.5;
result = asin (param) * 180.0 / PI;
printf ("The arc sine of %f is %f degrees\n", param, result);
return 0;
}