note Help Needed
This wiki is the result of an ongoing community effort — thank you all for helping!
If you want to provide changes to this page then please click here.
asin
warning
This function starts with a lowercase letter.
Description
Get the inversed value of a sine in degrees. In trigonometrics, arc sine is the inverse operation of sine.
Name | Description |
---|---|
Float:value | value whose arc sine is computed, in the interval [-1,+1]. |
Returns
The angle in degrees, in the interval [-90.0,+90.0].
Examples
//The arc sine of 0.500000 is 30.000000 degrees.
public OnGameModeInit()
{
new Float:param, Float:result;
param = 0.5;
result = asin(param);
printf("The arc sine of %f is %f degrees.", param, result);
return 1;
}
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.
- acos: Get the inversed value of a cosine in degrees.
- atan: Get the inversed value of a tangent in degrees.
- atan2: Get the multi-valued inversed value of a tangent in degrees.