Searched refs:pow (Results 1 - 25 of 228) sorted by relevance

12345678910

/macosx-10.9.5/ruby-104/ruby/missing/
H A Dcbrt.c7 return -pow(-x, 1/3.0);
9 return pow(x, 1/3.0);
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/Math/
H A D15.8.2.13.js24 ECMA Section: 15.8.2.13 Math.pow(x, y)
35 var TITLE = "Math.pow(x, y)";
46 array[item++] = new TestCase( SECTION, "Math.pow.length", 2, Math.pow.length );
48 array[item++] = new TestCase( SECTION, "Math.pow()", Number.NaN, Math.pow() );
49 array[item++] = new TestCase( SECTION, "Math.pow(null, null)", 1, Math.pow(null,null) );
50 array[item++] = new TestCase( SECTION, "Math.pow(void 0, void 0)", Number.NaN, Math.pow(voi
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/Array/
H A D15.4.5.2-2.js47 addCase( new Array(), 0, Math.pow(2,14), Math.pow(2,14) );
51 addCase( new Array(Math.pow(2,12)), Math.pow(2,12), 0, 0 );
52 addCase( new Array(Math.pow(2,13)), Math.pow(2,13), Math.pow(2,12), Math.pow(2,12) );
53 addCase( new Array(Math.pow(2,12)), Math.pow(
[all...]
H A D15.4-2.js55 array[item++] = new TestCase( SECTION, "var arr=new Array(); arr[Math.pow(2,16)] = 'hi'; arr.length", Math.pow(2,16)+1, eval("var arr=new Array(); arr[Math.pow(2,16)] = 'hi'; arr.length") );
57 array[item++] = new TestCase( SECTION, "var arr=new Array(); arr[Math.pow(2,30)-2] = 'hi'; arr.length", Math.pow(2,30)-1, eval("var arr=new Array(); arr[Math.pow(2,30)-2] = 'hi'; arr.length") );
58 array[item++] = new TestCase( SECTION, "var arr=new Array(); arr[Math.pow(2,30)-1] = 'hi'; arr.length", Math.pow(2,30), eval("var arr=new Array(); arr[Math.pow(2,30)-1] = 'hi'; arr.length") );
59 array[item++] = new TestCase( SECTION, "var arr=new Array(); arr[Math.pow(
[all...]
H A D15.4.1.2.js60 array[item++] = new TestCase( SECTION, "(Array(Math.pow(2,31)-1)).length", ToUint32(Math.pow(2,31)-1), (Array(Math.pow(2,31)-1)).length );
61 array[item++] = new TestCase( SECTION, "(Array(Math.pow(2,31))).length", ToUint32(Math.pow(2,31)), (Array(Math.pow(2,31))).length );
62 array[item++] = new TestCase( SECTION, "(Array(Math.pow(2,31)+1)).length", ToUint32(Math.pow(2,31)+1), (Array(Math.pow(2,31)+1)).length );
91 n = n % Math.pow(
[all...]
H A D15.4-1.js28 Math.pow(2,32).
49 "var myarr = new Array(); myarr[Math.pow(2,32)-2]='hi'; myarr[Math.pow(2,32)-2]",
51 eval("var myarr = new Array(); myarr[Math.pow(2,32)-2]='hi'; myarr[Math.pow(2,32)-2]")
54 "var myarr = new Array(); myarr[Math.pow(2,32)-2]='hi'; myarr.length",
55 (Math.pow(2,32)-1),
56 eval("var myarr = new Array(); myarr[Math.pow(2,32)-2]='hi'; myarr.length")
59 "var myarr = new Array(); myarr[Math.pow(2,32)-3]='hi'; myarr[Math.pow(
[all...]
H A D15.4.2.1-2.js65 var TEST_LENGTH = Math.pow(2,10); //Math.pow(2,32);
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma_2/RegExp/
H A Dproperties-002.js20 re_1.lastIndex = Math.pow(2,31);
21 AddRegExpCases( re_1, "\\cA?", true, false, false, Math.pow(2,31) );
24 re_2.lastIndex = Math.pow(2,32) -1;
25 AddRegExpCases( re_2, "\\w*", false, true, false, Math.pow(2,32)-1 );
28 re_3.lastIndex = Math.pow(2,31) -1;
29 AddRegExpCases( re_3, "\\*{0,80}", false, false, true, Math.pow(2,31) -1 );
32 re_4.lastIndex = Math.pow(2,30) -1;
33 AddRegExpCases( re_4, "^.", true, true, true, Math.pow(2,30) -1 );
36 re_5.lastIndex = Math.pow(2,30);
37 AddRegExpCases( re_5, "\\B", false, false, false, Math.pow(
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/Expressions/
H A D11.4.8.js65 var p = Math.pow(2,i);
71 var p = -Math.pow(2,i);
99 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32);
100 n = ( n >= Math.pow(2,31) ) ? n - Math.pow(2,32) : n;
113 n = n % Math.pow(2,32);
116 n += Math.pow(2,32);
128 n = ( sign * Math.floor( Math.abs(n) ) ) % Math.pow(2,16);
131 n += Math.pow(2,16);
145 if ( n >= Math.pow(
[all...]
H A D11.7.2.js76 shiftexp = Math.pow( 2, power );
87 shiftexp = -Math.pow( 2, power );
120 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32);
121 n = ( n >= Math.pow(2,31) ) ? n - Math.pow(2,32) : n;
134 n = n % Math.pow(2,32);
137 n += Math.pow(2,32);
149 n = ( sign * Math.floor( Math.abs(n) ) ) % Math.pow(2,16);
152 n += Math.pow(2,16);
166 if ( n >= Math.pow(
[all...]
H A D11.7.1.js74 shiftexp = Math.pow( 2, power );
106 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32);
107 n = ( n >= Math.pow(2,31) ) ? n - Math.pow(2,32) : n;
120 n = n % Math.pow(2,32);
123 n += Math.pow(2,32);
135 n = ( sign * Math.floor( Math.abs(n) ) ) % Math.pow(2,16);
138 n += Math.pow(2,16);
152 if ( n >= Math.pow(2,p) ) {
154 n -= Math.pow(
[all...]
H A D11.7.3.js78 shiftexp = Math.pow( 2, power );
111 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32);
112 n = ( n >= Math.pow(2,31) ) ? n - Math.pow(2,32) : n;
125 n = n % Math.pow(2,32);
128 n += Math.pow(2,32);
140 n = ( sign * Math.floor( Math.abs(n) ) ) % Math.pow(2,16);
143 n += Math.pow(2,16);
157 if ( n >= Math.pow(2,p) ) {
159 n -= Math.pow(
[all...]
H A D11.10-1.js74 shiftexp += Math.pow( 2, shiftpow );
77 addexp += Math.pow(2, addpow);
108 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32);
109 n = ( n >= Math.pow(2,31) ) ? n - Math.pow(2,32) : n;
122 n = n % Math.pow(2,32);
125 n += Math.pow(2,32);
137 n = ( sign * Math.floor( Math.abs(n) ) ) % Math.pow(2,16);
140 n += Math.pow(2,16);
154 if ( n >= Math.pow(
[all...]
H A D11.10-2.js73 shiftexp += Math.pow( 2, shiftpow );
76 addexp += Math.pow(2, addpow);
107 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32);
108 n = ( n >= Math.pow(2,31) ) ? n - Math.pow(2,32) : n;
121 n = n % Math.pow(2,32);
124 n += Math.pow(2,32);
136 n = ( sign * Math.floor( Math.abs(n) ) ) % Math.pow(2,16);
139 n += Math.pow(2,16);
153 if ( n >= Math.pow(
[all...]
H A D11.10-3.js73 shiftexp += Math.pow( 2, shiftpow );
76 addexp += Math.pow(2, addpow);
107 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32);
108 n = ( n >= Math.pow(2,31) ) ? n - Math.pow(2,32) : n;
121 n = n % Math.pow(2,32);
124 n += Math.pow(2,32);
136 n = ( sign * Math.floor( Math.abs(n) ) ) % Math.pow(2,16);
139 n += Math.pow(2,16);
153 if ( n >= Math.pow(
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma_3/RegExp/
H A D15.10.6.2-2.js160 pattern.lastIndex = Math.pow(2,32);
166 pattern.lastIndex = -Math.pow(2,32);
172 pattern.lastIndex = Math.pow(2,32) + 1;
178 pattern.lastIndex = -(Math.pow(2,32) + 1);
184 pattern.lastIndex = Math.pow(2,32) * 2;
190 pattern.lastIndex = -Math.pow(2,32) * 2;
196 pattern.lastIndex = Math.pow(2,40);
202 pattern.lastIndex = -Math.pow(2,40);
276 pattern.lastIndex = Math.pow(2,32);
282 pattern.lastIndex = -Math.pow(
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/GlobalObject/
H A D15.1.2.2-1.js142 HEX_VALUE += Math.pow(16,POWER)*15;
146 HEX_VALUE += Math.pow(16,POWER)*15;
150 HEX_VALUE += Math.pow(16,POWER)*15;
154 HEX_VALUE += Math.pow(16,POWER)*15;
158 HEX_VALUE += Math.pow(16,POWER)*15;
162 HEX_VALUE += Math.pow(16,POWER)*15;
172 HEX_VALUE += Math.pow(16,POWER)*15;
178 HEX_VALUE -= Math.pow(16,POWER)*15;
185 HEX_VALUE += Math.pow(16,POWER)*15;
189 HEX_VALUE += Math.pow(1
[all...]
H A D15.1.2.5-2.js131 for ( var mag = 1; Math.pow(16,mag) <= n ; mag++ ) {
136 hex[index] = Math.floor( n / Math.pow(16,mag) );
137 n -= Math.pow(16,mag) * Math.floor( n/Math.pow(16,mag) );
H A D15.1.2.5-3.js131 for ( ; n < Math.pow(2,16); n++ ) {
154 for ( var mag = 1; Math.pow(16,mag) <= n ; mag++ ) {
159 hex[index] = Math.floor( n / Math.pow(16,mag) );
160 n -= Math.pow(16,mag) * Math.floor( n/Math.pow(16,mag) );
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/Types/
H A D8.4.js80 if ( n >= Math.pow(16, i) ){
81 var t = Math.floor( n / Math.pow(16, i));
82 n -= t * Math.pow(16, i);
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/TypeConversion/
H A D9.5-2.js81 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32);
83 n = ( n < -Math.pow(2,31) ) ? n + Math.pow(2,32) : n;
85 n = ( n >= Math.pow(2,31) ) ? n - Math.pow(2,32) : n;
115 array[item++] = new TestCase( SECTION, "(Math.pow(2,31)-1) << 0", ToInt32(2147483647), (Math.pow(2,31)-1) << 0 );
116 array[item++] = new TestCase( SECTION, "Math.pow(2,31) << 0", ToInt32(2147483648), Math.pow(2,31) << 0 );
117 array[item++] = new TestCase( SECTION, "(Math.pow(
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/String/
H A D15.5.3.2-3.js76 for ( CHARCODE = Math.pow(2,32)-1; CHARCODE < Math.pow(2,32)+1; CHARCODE++ ) {
105 num = num % Math.pow(2,16);
/macosx-10.9.5/bash-92/bash-3.2/lib/sh/
H A Dstrtod.c165 if (num < DBL_MIN * pow (10.0, (double) -exponent))
170 if (num > DBL_MAX * pow (10.0, (double) -exponent))
174 num *= pow (10.0, (double) exponent);
/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
41 proc pow {x n} {uplevel 1 [list expr pow($x,$n)]} procedure
/macosx-10.9.5/swig-10/Lib/
H A Dmath.i54 extern double pow(double x, double y);

Completed in 207 milliseconds

12345678910