Math Functions
math.atan()
Return inverse tangent in radians between minus pi/2 and pi/2 for finite inputs.
Formal Syntax & Structure
python syntaxpython
math.atan(x, /)Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| x | real number | Input real value. |
Return Value
float
Floating-point result; finite precision and domain restrictions apply.
Working Example
Example Snippetpython
import mathprint(math.atan(0))