asin(), asinf()

arc sine function 

Function


SYNOPSIS

#include <math.h>

double asin(double x)

float asinf(float x)


DESCRIPTION

The asin() and asinf() functions compute the principal value of the arc sine of x in the range [-1, +1].

To check for error situations, set errno to 0 before calling asin(). If errno is non-zero on return, or the return value is NaN, an error has occurred.

The asinf() function is a single-precision version of asin().


PARAMETERS

x 

A value between -1.0 and 1.0.


RETURN VALUES

If |x|>1, asin(x) and asinf(x) return the following values based on the math mode being used:


CONFORMANCE

asin(): ANSI/ISO 9899-1990

asinf(): PTC MKS Toolkit UNIX APIs extension


MULTITHREAD SAFETY LEVEL

MT-Safe.


PORTING ISSUES

None.


AVAILABILITY

PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Functions:
acos(), atan(), atan2(), cos(), cosh(), math(), matherr(), sin(), sinh(), tan(), tanh()


PTC MKS Toolkit 10.4 Documentation Build 39.