/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/Math/ |
H A D | 15.8.2.7.js | 24 ECMA Section: 15.8.2.7 cos( x ) 35 var TITLE = "Math.cos(x)"; 46 array[item++] = new TestCase( SECTION, "Math.cos.length", 1, Math.cos.length ); 48 array[item++] = new TestCase( SECTION, "Math.cos()", Number.NaN, Math.cos() ); 49 array[item++] = new TestCase( SECTION, "Math.cos(void 0)", Number.NaN, Math.cos(void 0) ); 50 array[item++] = new TestCase( SECTION, "Math.cos(false)", 1, Math.cos(fals [all...] |
/macosx-10.9.5/ruby-104/ruby/test/bigdecimal/ |
H A D | test_bigmath.rb | 42 assert_in_delta(1.0, cos(BigDecimal("0.0"), N)) 43 assert_in_delta(Math.sqrt(2.0) / 2, cos(PI(N) / 4, N)) 44 assert_in_delta(0.0, cos(PI(N) / 2, N)) 45 assert_in_delta(1.0, cos(PI(N) * 2, N)) 46 assert_in_delta(-1.0, cos(PI(N), N)) 47 assert_in_delta(0.0, cos(PI(N) / -2, N)) 48 assert_in_delta(1.0, cos(PI(N) * -2, N)) 49 assert_in_delta(-1.0, cos(-PI(N), N)) 50 assert_in_delta(-1.0, cos(PI(N) * 21, N)) 51 assert_in_delta(1.0, cos(P [all...] |
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/FieldGraph/ |
H A D | fieldMath.py | 1 from math import pi, sin, cos, hypot, sqrt 14 return (r*cos(theta), r*sin(theta))
|
H A D | CGraphModel.py | 43 gain += self.field[i]*self.field[j] * cos(self.phase[j]-self.phase[i]) * bessel(spacing[j]-spacing[i]) 55 B1 = self.phase[1] + self.spacing * cos(a) 56 B2 = self.phase[2] + 2 * self.spacing * cos(a) 59 phiy = cos(B0) * E0 + cos(B1) * E1 + cos(B2) * E2
|
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/FieldGraph/ |
H A D | fieldMath.py | 1 from math import pi, sin, cos, hypot, sqrt 14 return (r*cos(theta), r*sin(theta))
|
H A D | CGraphModel.py | 43 gain += self.field[i]*self.field[j] * cos(self.phase[j]-self.phase[i]) * bessel(spacing[j]-spacing[i]) 55 B1 = self.phase[1] + self.spacing * cos(a) 56 B2 = self.phase[2] + 2 * self.spacing * cos(a) 59 phiy = cos(B0) * E0 + cos(B1) * E1 + cos(B2) * E2
|
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/math/ |
H A D | qcomplex.tcl | 13 namespace export + - / * conj exp sin cos tan real imag mod arg log pow sqrt tostring 113 return [list [expr {exp($c)*cos($d)}] [expr {exp($c)*sin($d)}]] 115 proc ::math::complexnumbers::cos {z1} { 117 return [list [expr {cos($c)*cosh($d)}] [expr {-sin($c)*sinh($d)}]] 121 return [list [expr {sin($c)*cosh($d)}] [expr {cos($c)*sinh($d)}]] 124 return [/ [sin $z1] [cos $z1]] 132 return [list [expr {$modz*cos($argz)}] [expr {$modz*sin($argz)}]]
|
H A D | bessel.tcl | 61 # Jn(x) = -- I cos(x sin t - nt) dt 87 set f [expr {cos($x * sin($t) - $n * $t)}] 130 return [expr {-cos($x)/sqrt($pi*$x/2.0)}]
|
/macosx-10.9.5/ruby-104/ruby/lib/ |
H A D | cmath.rb | 30 alias cos! cos 58 Complex(ere * cos!(z.imag), 161 cos!(z.real) * sinh!(z.imag)) 170 def cos(z) method in class:CMath 173 cos!(z) 175 Complex(cos!(z.real) * cosh!(z.imag), 190 sin(z) / cos(z) 204 Complex(sinh!(z.real) * cos!(z.imag), 219 Complex(cosh!(z.real) * cos!( [all...] |
/macosx-10.9.5/swig-10/Lib/ |
H A D | math.i | 15 extern double cos(double x);
|
/macosx-10.9.5/tcl-102/tcl_ext/ffidl/ffidl/demos/mathswig/ |
H A D | mathswig.i | 20 double cos(double);
|
H A D | time-libm.tcl | 39 ::ffidl::callout fficos {double} double [::ffidl::symbol $lib cos] 40 if { ! $nodll } {::dll::declare $lib cos dllcos d d} 41 if { ! $nodll } {set t [time {dllcos $a} 10000]; puts "time for dll cos: $t"} 42 if { ! $noswig} {set t [time {cos $a} 10000]; puts "time for swig cos: $t"} 43 set t [time {fficos $a} 10000]; puts "time for ffidl cos: $t" 44 set t [time {expr {cos($a)}} 10000]; puts "time for expr cos: $t"
|
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/simulation/ |
H A D | random.tcl | 185 set r [expr {$rad*cos($phi)}] 272 set r [expr {$rad*cos($phi)}] 303 set x [expr {$rad*cos($phi)}] 334 set x [expr {$rad*cos($phi)*cos($theta)}] 335 set y [expr {$rad*sin($phi)*cos($theta)}] 366 set x [expr {RAD*cos($phi)*cos($theta)}] 367 set y [expr {RAD*sin($phi)*cos($theta)}]
|
/macosx-10.9.5/ruby-104/ruby/benchmark/ |
H A D | bm_so_partial_sums.rb | 6 d = d.to_f ; d2 = d * d ; d3 = d2 * d ; ds = Math.sin(d) ; dc = Math.cos(d)
|
/macosx-10.9.5/tcl-102/tcl_ext/tclx/tclx/library/ |
H A D | fmath.tcl | 20 #@package: TclX-fmath acos asin atan ceil cos cosh exp fabs floor log log10 \ 27 proc cos x {uplevel 1 [list expr cos($x)]} procedure
|
/macosx-10.9.5/tcl-102/tcl_ext/tklib/tklib/examples/controlwidget/ |
H A D | demo-meters.tcl | 34 set ::barvar [list [expr {5.0 + 5.0*cos($v)}] [expr {5.0 + 5.0*sin($v)}] [expr {4.0 + 2.5*cos(2*$v)}]]
|
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/mapproj/ |
H A D | mapproj.tcl | 159 return [ellFaux [expr {cos($phi)}] [expr {sin($phi)}] $k] 289 set cos_phi_s [expr {cos($phi_1 * $degree)}] 318 set cos_phi_s [expr {cos($phi_1 * $degree)}] 449 set x [expr {$lambda * cos($phi)}] 472 set lambda [expr {180. + $lambda_0 + $radian * $x / cos($y)}] 511 / (1.0 + cos($theta))}] 515 set x [expr {$sqrt8 * $lambda * cos($theta) / $pi}] 541 ($sqrt8 * cos($theta)) + 180.}] 580 set costheta [expr {cos($theta)}] 587 set x [expr {$EckertIVK1 * $lambda * (1.0 + cos( [all...] |
/macosx-10.9.5/WebCore-7537.78.1/platform/audio/ |
H A D | Biquad.cpp | 227 double gamma = (0.5 + beta) * cos(theta); 263 double gamma = (0.5 + beta) * cos(theta); 322 double k = cos(w0); 357 double k = cos(w0); 391 double k = cos(w0); 427 double k = cos(w0); 463 double k = cos(w0); 499 double k = cos(w0); 578 std::complex<double> z = std::complex<double>(cos(omega), sin(omega));
|
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/CocoaBindings/GraphicsBindings/ |
H A D | Circle.py | 14 from math import sin, cos #, sqrt, atan2 55 shadowYOffset = cos(self.shadowAngle)*self.shadowOffset 74 shadowYOffset = cos(shadowAngle)*shadowOffset
|
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/CocoaBindings/GraphicsBindings/ |
H A D | Circle.py | 14 from math import sin, cos #, sqrt, atan2 55 shadowYOffset = cos(self.shadowAngle)*self.shadowOffset 74 shadowYOffset = cos(shadowAngle)*shadowOffset
|
/macosx-10.9.5/tcl-102/tcl_ext/ffidl/ffidl/tests/ |
H A D | libm.test | 28 acos cos hypot sinh 34 acos - asin - atan - ceil - cos - cosh - exp - floor - log - log10 - sin - sinh - 88 {double cos(double)}
|
/macosx-10.9.5/ICU-511.35/icuSources/i18n/ |
H A D | astro.cpp | 466 double cosE = cos(obliq); 469 double cosL = cos(eclipLong); 472 double cosB = cos(eclipLat); 506 double cosH = cos(H); 508 double cosD = cos(equatorial.declination); 510 double cosL = cos(fLatitude); 602 E = E - delta / (1 - eccentricity * ::cos(E)); 836 // double psi = ::acos(sin(fLatitude) / cos(dec)); 839 // double delta_t = 240 * y / cos(dec) / 3600; // hours 946 // double E = M + e*(180/PI) * ::sin(M*DEG_RAD) * ( 1.0 + e*cos( [all...] |
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma_3/Statements/ |
H A D | switch-001.js | 61 actual = match(1, 1, Math.sin, Math.cos);
|
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/filters/ |
H A D | FEColorMatrix.h | 84 float cosHue = cos(value * piFloat / 180);
|
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/map/ |
H A D | map_slippy.tcl | 82 # The missing sec() function is computed using the 1/cos equivalency. 85 set row [expr {int((1 - (log(tan($latrad) + 1.0/cos($latrad)) / $pi)) / 2 * $tiles)}] 97 set y [expr {$ourtilesize * ((1 - (log(tan($latrad) + 1.0/cos($latrad)) / $pi)) / 2 * $tiles)}]
|