Provide the arctangent of various numerical values.
System. |
The atan() function computes the arctangent of a number in radians.
Tip: The atan() function restricts angles to the range of -π/2 to π/2. For wider angle ranges, consider using the atan2() function.
public |
Parameter |
Description |
number |
The input needed is a number for which the arc tangent will be calculated. |
Returns: |
It yields a double value representing the arctangent of a given number, measured in radians. |
Java Version: |
Any |