Searched refs:atan2 (Results 1 - 25 of 100) sorted by relevance

1234

/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/Math/
H A D15.8.2.5.js24 ECMA Section: 15.8.2.5 atan2( y, x )
34 var TITLE = "Math.atan2(x,y)";
46 array[item++] = new TestCase( SECTION, "Math.atan2.length", 2, Math.atan2.length );
48 array[item++] = new TestCase( SECTION, "Math.atan2(NaN, 0)", Number.NaN, Math.atan2(Number.NaN,0) );
49 array[item++] = new TestCase( SECTION, "Math.atan2(null, null)", 0, Math.atan2(null, null) );
50 array[item++] = new TestCase( SECTION, "Math.atan2(void 0, void 0)", Number.NaN, Math.atan2(voi
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/tclx/tclx/library/
H A Dfmath.tcl21 sin sinh sqrt tan tanh fmod pow atan2 abs double int round
45 proc atan2 x {uplevel 1 [list expr atan2($x)]} procedure
/macosx-10.9.5/swig-10/Lib/
H A Dmath.i33 extern double atan2(double y, double x);
/macosx-10.9.5/tcl-102/tcl_ext/ffidl/ffidl/demos/mathswig/
H A Dmathswig.i19 double atan2(double, double);
H A Dtime-libm.tcl53 ::ffidl::callout ffiatan2 {double double} double [::ffidl::symbol $lib atan2]
54 if { ! $nodll} {::dll::declare $lib atan2 dllatan2 d d d}
55 if { ! $nodll} {set t [time {dllatan2 $a $b} 10000]; puts "time for dll atan2: $t"}
56 if { ! $noswig} {set t [time {atan2 $a $b} 10000]; puts "time for swig atan2: $t"}
57 set t [time {ffiatan2 $a $b} 10000]; puts "time for ffidl atan2: $t"
58 set t [time {expr {atan2($a,$b)}} 10000]; puts "time for expr atan2: $t"
/macosx-10.9.5/ruby-104/ruby/test/ruby/
H A Dtest_math.rb20 check(+0.0, Math.atan2(+0.0, +0.0))
21 check(-0.0, Math.atan2(-0.0, +0.0))
22 check(+Math::PI, Math.atan2(+0.0, -0.0))
23 check(-Math::PI, Math.atan2(-0.0, -0.0))
24 assert_raise(Math::DomainError) { Math.atan2(Float::INFINITY, Float::INFINITY) }
25 assert_raise(Math::DomainError) { Math.atan2(Float::INFINITY, -Float::INFINITY) }
26 assert_raise(Math::DomainError) { Math.atan2(-Float::INFINITY, Float::INFINITY) }
27 assert_raise(Math::DomainError) { Math.atan2(-Float::INFINITY, -Float::INFINITY) }
28 check(0, Math.atan2(0, 1))
29 check(Math::PI / 4, Math.atan2(
[all...]
/macosx-10.9.5/ruby-104/ruby/lib/
H A Dcmath.rb40 alias atan2! atan2
286 def atan2(y,x) method in class:CMath
289 atan2!(y,x)
373 module_function :atan2!
374 module_function :atan2
/macosx-10.9.5/tcl-102/tcl_ext/ffidl/ffidl/tests/
H A Dlibm.test31 atan2 floor pow tanh
38 atan2 - fmod - hypot - pow {
87 {double atan2(double, double)}
/macosx-10.9.5/libstdcxx-60/include/c++/4.2.1/tr1/
H A Dmath.h46 using std::tr1::atan2;
/macosx-10.9.5/ruby-104/ruby/ext/tk/sample/
H A D24hr_clock.rb231 a = Math::atan2(y, x) + ss_angle
237 a = Math::atan2(y, x) + mm_angle
243 a = Math::atan2(y, x) + hh_angle
260 (offset + m_half*Math.atan2(y,x)/Math::PI).round.divmod(60)
/macosx-10.9.5/groff-38/groff/src/preproc/pic/
H A Dcommon.cpp93 double psi = atan2(zml.y / dim.y, zml.x / dim.x);
108 double phi0 = atan2(z0.y - M.y, z0.x - M.x);
109 double phi1 = atan2(z1.y - M.y, z1.x - M.x);
174 double psi = atan2(zdot.y / dim_y, zdot.x / dim_x);
226 double psi = atan2(zdot.y / dim_y, zdot.x / dim_x);
261 double start_angle = atan2(start_offset.y, start_offset.x);
262 double end_angle = atan2(end_offset.y, end_offset.x);
292 double start_angle = atan2(start_offset.y, start_offset.x);
293 double total_angle = atan2(end_offset.y, end_offset.x) - start_angle;
H A Dtex.cpp277 atan2(start.y - c.y, start.x - c.x),
278 atan2(end.y - c.y, end.x - c.x),
/macosx-10.9.5/tcl-102/tcl_ext/ffidl/ffidl/demos/
H A Dlibm.tcl32 {double atan2(double, double)}
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/sample/ViewModelDemo/
H A DViewModel.rb160 Math.atan2(x,y)
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/math/
H A Dqcomplex.tcl97 return [expr {atan2($d,$c)}]
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/CocoaBindings/GraphicsBindings/
H A DJoystickView.py14 from math import sin, cos, sqrt, atan2, pi
183 newAngle = atan2(xOffset, yOffset)
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/CocoaBindings/GraphicsBindings/
H A DJoystickView.py14 from math import sin, cos, sqrt, atan2, pi
183 newAngle = atan2(xOffset, yOffset)
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/mapproj/
H A Dmapproj.tcl614 set theta [expr {atan2($sintheta, $costheta)}]
816 set y [expr {atan2(tan($phi), cos($lambda)) - $degree * $phi_0}]
842 set lambda [expr {180. + $lambda_0 + $radian * atan2(tan($x), cos($y))}]
1025 set lambda [expr {$quarterpi - atan2($cos_b, $cos_a)}]
1127 set range [expr {atan2($c, $x)}]
1165 return [list [expr {atan2($y, $x)}] [expr {atan2($z, hypot($y, $x))}]]
1614 set theta [expr {atan2($x, $rho_0my)}]
1689 set theta [expr {atan2($x, $rho_0 - $y)}]
1770 set theta [expr {atan2(
[all...]
/macosx-10.9.5/ICU-511.35/icuSources/i18n/
H A Dastro.cpp475 result.set(atan2(sinL*cosE - tanB*sinE, cosL),
513 double azimuth = atan2(-cosD*cosL*sinH, sinD - sinL * ::sin(altitude));
958 // double v = ::atan2( B, A )*RAD_DEG;
975 // // atan2() function to compute sRA.
977 // double sRA = ::atan2(sin(slon*DEG_RAD) * cos(oblecl*DEG_RAD), cos(slon*DEG_RAD))*RAD_DEG;
1135 moonEclipLong = ::atan2(y*cos(moonI), x) + nodeLongitude;
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/transforms/
H A DAffineTransform.cpp182 return rotate(rad2deg(atan2(y, x)));
373 double angle = atan2(m.b(), m.a());
/macosx-10.9.5/groff-38/groff/src/devices/grolj4/
H A Dlj4.cpp495 double sweep = ((atan2(p[1] + p[3] - c[1], p[0] + p[2] - c[0])
496 - atan2(-c[1], -c[0]))
/macosx-10.9.5/ruby-104/ruby/
H A Dmath.c38 * Math.atan2(y, x) -> float
43 * Math.atan2(-0.0, -1.0) #=> -3.141592653589793
44 * Math.atan2(-1.0, -1.0) #=> -2.356194490192345
45 * Math.atan2(-1.0, 0.0) #=> -1.5707963267948966
46 * Math.atan2(-1.0, 1.0) #=> -0.7853981633974483
47 * Math.atan2(-0.0, 1.0) #=> -0.0
48 * Math.atan2(0.0, 1.0) #=> 0.0
49 * Math.atan2(1.0, 1.0) #=> 0.7853981633974483
50 * Math.atan2(1.0, 0.0) #=> 1.5707963267948966
51 * Math.atan2(1.
[all...]
/macosx-10.9.5/swig-10/Lib/perl5/
H A Dperlkw.swg41 PERLBN(atan2);
/macosx-10.9.5/vim-53/runtime/syntax/
H A Dampl.vim81 syn keyword amplBuiltInFunction asinh atan atan2 atanh ceil
/macosx-10.9.5/WebCore-7537.78.1/platform/audio/
H A DFFTFrame.cpp264 double phase = atan2(realP[i], imagP[i]);

Completed in 318 milliseconds

1234