Name | Description | Notes | Source | Availability | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|
asin() |
Compute arc sine | (·) | <math.h> |
C89 | C90 | C95 | C99 | C11 | |||
asin() |
Compute arc sine | M | (·) | <tgmath.h> |
C99 | C11 | |||||
asinf() |
Compute arc sine | (·) | <math.h> |
C99 | C11 | ||||||
asinl() |
Compute arc sine | (·) | <math.h> |
C99 | C11 | ||||||
casin() |
Compute arc sine | ? | (·) | <complex.h> |
C99 | C11 | |||||
casinf() |
Compute arc sine | ? | (·) | <complex.h> |
C99 | C11 | |||||
casinl() |
Compute arc sine | ? | (·) | <complex.h> |
C99 | C11 | |||||
csin() |
Compute sine | ? | (·) | <complex.h> |
C99 | C11 | |||||
csinf() |
Compute sine | ? | (·) | <complex.h> |
C99 | C11 | |||||
csinl() |
Compute sine | ? | (·) | <complex.h> |
C99 | C11 | |||||
sin() |
Compute sine | (·) | <math.h> |
C89 | C90 | C95 | C99 | C11 | |||
sin() |
Compute sine | M | (·) | <tgmath.h> |
C99 | C11 | |||||
sinf() |
Compute sine | (·) | <math.h> |
C99 | C11 | ||||||
sinl() |
Compute sine | (·) | <math.h> |
C99 | C11 |
The ranges are probably wrong for hyperbolics.
[: More
must be said here about the complex functions'
ranges.]
#include <math.h>
float sinf(float a);
double sin(double a);
long double sinl(long double a);
#include <complex.h>
float complex csinf(float complex a);
double complex csin(double complex a);
long double complex csinl(long double complex a);
#include <tgmath.h>
floating-type sin(floating-type a);
The sin
functions
take an angle a
in radians, and return
the sine of that angle, sin a.
#include <math.h>
float asinf(float r);
double asin(double r);
long double asinl(long double r);
#include <complex.h>
float complex casinf(float complex r);
double complex casin(double complex r);
long double complex casinl(long double complex r);
#include <tgmath.h>
floating-type asin(floating-type r);
The asin
functions take a ratio r
and return
the arc sine of that ratio, sin−1 r, in
the range [−½π, +½π].