/macosx-10.10/JavaScriptCore-7600.1.17/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.10/JavaScriptCore-7600.1.17/tests/stress/ |
H A D | ftl-arithcos.js | 2 return Math.cos(x);
|
/macosx-10.10/ruby-106/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.10/pyobjc-45/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.10/pyobjc-45/2.6/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.10/pyobjc-45/pyobjc/pyobjc-framework-Cocoa-2.5.1/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.10/tcl-105/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)}]]
|
/macosx-10.10/ruby-106/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.10/swig-12/Lib/ |
H A D | math.i | 15 extern double cos(double x);
|
/macosx-10.10/tcl-105/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.10/tcl-105/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.10/WebCore-7600.1.25/platform/audio/ |
H A D | DownSampler.cpp | 74 double window = a0 - a1 * cos(2.0 * piDouble * x) + a2 * cos(4.0 * piDouble * x);
|
H A D | UpSampler.cpp | 68 double window = a0 - a1 * cos(2.0 * piDouble * x) + a2 * cos(4.0 * piDouble * x);
|
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.10/ruby-106/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.10/tcl-105/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.10/tcl-105/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.10/tcl-105/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.10/pyobjc-45/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.10/pyobjc-45/2.6/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.10/pyobjc-45/pyobjc/pyobjc-framework-Cocoa-2.5.1/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
|