atan

calculate the inverse tangent of given angle


Parameters

atan angle :integer :floating :complex :rational :quantity

Returns

  • :floating
  • :complex

Examples

copy
print atan 0 ; 0.0 print atan 0.3 ; 0.2914567944778671 print atan 1.0 ; 0.7853981633974483

copy
atan to :complex @[pi 1] ; => 1.287340574324392+0.08505998507745416i

Related