atan
atan
(PHP 4, PHP 5, PHP 7)
atan — Arc tangent
Description
float atan ( float $arg )
Returns the arc tangent of arg
in radians. atan()
is the complementary function of tan(), which means that a==tan(atan(a))
for every value of a that is within atan()
's range.
Parameters
arg
The argument to process
Return Values
The arc tangent of arg
in radians.
See Also
- tan() - Tangent
- atanh() - Inverse hyperbolic tangent
- asin() - Arc sine
- acos() - Arc cosine
← atan2
atanh →
© 1997–2017 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.