Share this page:

C Language: asin function
(Arc Sine)

In the C Programming Language, the asin function returns the arc sine of x.

Syntax

The syntax for the C Language asin function is:

double asin(double x);

Parameters or Arguments

x is a value between -1 and 1. A domain error will occur if x is not between -1 and 1.

Returns

The asin function returns the arc sine of a number represented by x. It will return a value between -π/2 and π/2.

Required Header

In the C Language, the required header for the asin function is:

#include <math.h>

Applies To

In the C Language, the asin function can be used in the following versions:

  • ANSI/ISO 9899-1990

Similar Functions

Other C functions that are similar to the asin function: