Everything

asin / asinf / asinl


Calculates the arc sine of a floating-point number.

[Format]

#include <math.h>

double asin (double d);

float asinf (float d);

long double asinl (long double);

[Parameters]

d Floating-point number for which arc sine is to be computed

[Return values]

Normal: Arc sine of d

Abnormal: Domain error: Returns not-a-number.

[Remarks]

A domain error occurs for a value of d not in the range [–1.0, +1.0].

The asin function returns the arc sine in the range [–π/2, +π/2] by the radian.