Next: BESJ0, Previous: ATAN, Up: Intrinsic Procedures
ATAN2
— Arctangent functionATAN2(Y,X)
computes the arctangent of the complex number X + i Y.
X = ATAN2(Y,X)
Y | The type shall be REAL(*) .
|
X | The type and kind type parameter shall be the same as Y.
If Y is zero, then X must be nonzero.
|
program test_atan2 real(4) :: x = 1.e0_4, y = 0.5e0_4 x = atan2(y,x) end program test_atan2
Name | Argument | Return type | Option
|
DATAN2(X) | REAL(8) X | REAL(8) | f95, gnu
|