There's no documentation for this item.
# File complex.rb, line 558 def atan2(y,x) if Complex.generic?(y) and Complex.generic?(x) atan2!(y,x) else -1.0.im * log( (x+1.0.im*y) / sqrt(x*x+y*y) ) end end
<code/>
<pre/>
<code/>and<pre/>for code samples.