atan

PHP 4, PHP 5, PHP 7, PHP 8
atan - Arc tangent

atan( float$num ): float

Returns the arc tangent of num in radians. atan is the inverse function of tan, which means that a==tan(atan(a)) for every value of a that is within atan's range.

Parameters

num

The argument to process

Return Values

The arc tangent of num in radians.

Related Functions

Example of atan

Show all examples for atan

PHP Version:


Function atan:

Mathematical Functions Functions

Most used PHP functions