asin

warning

This function starts with lowercase letter.

Description

Get the inversed value of an arc sine in radians.

NameDescription
Float:valuethe 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;
}

Related Functions

  • floatsin: Get the sine from a specific angle.
  • floatcos: Get the cosine from a specific angle.
  • floattan: Get the tangent from a specific angle.