##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# atan

From cppreference.com
< c‎ | numeric‎ | math

Defined in header `<math.h>` |  |
float atanf( float arg ); |  | (since C99)
double atan( double arg ); |  |
long double atanl( long double arg ); |  | (since C99)

Computes arc tangent of `arg`

### [edit] Parameters

arg | - | floating point value

### [edit] Return value

Arc tangent of `arg` in radians in the range of `[-π/2; π/2]` radians.

### [edit] See also

atan2 | arc tangent, using signs to determine quadrants (function) [edit]
asin | computes arc sine (arcsin(x)) (function) [edit]
acos | computes arc cosine (arccos(x)) (function) [edit]
tan | computes tangent (tan(x)) (function) [edit]
C++ documentation for atan

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=c/numeric/math/atan&oldid=62561"