D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Math
/
Filename :
atan2-c.ri
back
Copy
U:RDoc::AnyMethod[iI" atan2:ETI"Math::atan2;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"SReturns the {arc tangent}[https://en.wikipedia.org/wiki/Atan2] of +y+ and +x+ ;TI"`in {radians}[https://en.wikipedia.org/wiki/Trigonometric_functions#Radians_versus_degrees].;To:RDoc::Markup::BlankLine o:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0; [o; ; [I"3Domain of +y+: <tt>[-INFINITY, INFINITY]</tt>.;To;;0; [o; ; [I"3Domain of +x+: <tt>[-INFINITY, INFINITY]</tt>.;To;;0; [o; ; [I"Range: <tt>[-PI, PI]</tt>.;T@o; ; [I"Examples:;T@o:RDoc::Markup::Verbatim; [ I":atan2(-1.0, -1.0) # => -2.356194490192345 # -3*PI/4 ;TI"8atan2(-1.0, 0.0) # => -1.5707963267948966 # -PI/2 ;TI"8atan2(-1.0, 1.0) # => -0.7853981633974483 # -PI/4 ;TI"4atan2(0.0, -1.0) # => 3.141592653589793 # PI;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;TcRDoc::NormalModule00