C++ Programming/Code/Standard C Library/Functions/asin

From Wikibooks, open books for an open world
Jump to: navigation, search
asin[edit]
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.

Related topics
acos - atan - atan2 - cos - cosh - sin - sinh - tan - tanh