Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
Math
/
//opt/alt/ruby21/share/ri/2.1.0/system/Math/atan2-c.ri
U:RDoc::AnyMethod[iI" atan2:ETI"Math::atan2;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"1Computes the arc tangent given +y+ and +x+. ;TI"*Returns a Float in the range -PI..PI.;To:RDoc::Markup::BlankLine o; ; [I""Domain: (-INFINITY, INFINITY);T@o; ; [I"Codomain: [-PI, PI];T@o:RDoc::Markup::Verbatim; [I"3Math.atan2(-0.0, -1.0) #=> -3.141592653589793 ;TI"3Math.atan2(-1.0, -1.0) #=> -2.356194490192345 ;TI"4Math.atan2(-1.0, 0.0) #=> -1.5707963267948966 ;TI"4Math.atan2(-1.0, 1.0) #=> -0.7853981633974483 ;TI"%Math.atan2(-0.0, 1.0) #=> -0.0 ;TI"$Math.atan2(0.0, 1.0) #=> 0.0 ;TI"3Math.atan2(1.0, 1.0) #=> 0.7853981633974483 ;TI"3Math.atan2(1.0, 0.0) #=> 1.5707963267948966 ;TI"2Math.atan2(1.0, -1.0) #=> 2.356194490192345 ;TI"1Math.atan2(0.0, -1.0) #=> 3.141592653589793;T:@format0: @fileI"math.c;T:0@omit_headings_from_table_of_contents_below0I" Math.atan2(y, x) -> Float ;T0[ I" (p1, p2);T@"FI" Math;FcRDoc::NormalModule00