asin [C++ Reference]
Keywords: c,math,asin
Date: 2009-03-19T23:41:39-0700

[[asin]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- fr
- it
- jp
- pl
- ru
- tr

## asin

Syntax:

        #include <cmath>
        double asin( double arg );

The asin() function returns the arc sine of arg, which will be in the range [- pi/2, +pi/2]. arg should be between -1 and 1. If arg is outside this range, asin() returns NAN and raises a floating-point exception.

C++ also provides the following overloaded forms:

        #include <cmath>
        float asin( float arg ); // same as asinf() in C99
        long double asin( long double arg ); // same as asinl() in C99

Related Topics: acos, atan, atan2, cos, cosh, sin, sinh, tan, tanh

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •