HomeSort by relevance Sort by last modified time
    Searched refs:pow (Results 1 - 25 of 352) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Math/
15.8.2.13.js 24 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(void 0, void 0))
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Array/
15.4.5.2-2.js 47 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(2,12), Math.pow(2,12), Math.pow(2,12) )
    [all...]
15.4-2.js 55 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(2,30)] = 'hi'; arr.length", Math.pow(2,30)+1, eval("var arr=new Array(); arr[Math.pow(2,30 (…)
    [all...]
15.4-1.js 28 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(2,32)-3]"
    [all...]
15.4.1.2.js 60 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(2,32)
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/RegExp/
properties-002.js 20 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(2,30) )
    [all...]
  /external/webkit/Source/WebCore/platform/audio/
AudioUtilities.cpp 38 return pow(10.0, 0.05 * decibels);
56 return 1.0 - pow(1.0 / 2.718282, 1.0 / (sampleRate * timeConstant));
  /external/v8/test/mjsunit/
array-length.js 77 a[Math.pow(2,31)-1] = 0;
78 a[Math.pow(2,30)-1] = 0;
79 assertEquals(Math.pow(2,31), a.length);
85 a[Math.pow(2,30)-1] = Math.pow(2,30)-1;
86 a[Math.pow(2,31)-1] = Math.pow(2,31)-1;
87 a[Math.pow(2,32)-2] = Math.pow(2,32)-2;
89 assertEquals(Math.pow(2,30)-1, a[Math.pow(2,30)-1])
    [all...]
delete.js 85 assertTrue(delete a[Math.pow(2,31)-1], "delete 2^31-1");
102 o[Math.pow(2,30)-1] = 0;
103 o[Math.pow(2,31)-1] = 0;
106 assertTrue(delete o[Math.pow(2,30)]);
108 assertFalse(has(o, Math.pow(2,30)));
110 assertTrue(has(o, Math.pow(2,30)-1));
111 assertTrue(has(o, Math.pow(2,31)-1));
113 assertTrue(delete o[Math.pow(2,30)-1]);
115 assertFalse(has(o, Math.pow(2,30)-1), "delete 2^30-1");
116 assertTrue(has(o, Math.pow(2,31)-1))
    [all...]
  /cts/tests/tests/text/src/android/text/format/cts/
FormatterTest.java 48 assertEquals("1.00KB", Formatter.formatFileSize(mContext, bd.pow(1).longValue()));
50 assertEquals("1.00MB", Formatter.formatFileSize(mContext, bd.pow(2).longValue()));
52 assertEquals("1.00GB", Formatter.formatFileSize(mContext, bd.pow(3).longValue()));
54 assertEquals("1.00TB", Formatter.formatFileSize(mContext, bd.pow(4).longValue()));
56 assertEquals("1.00PB", Formatter.formatFileSize(mContext, bd.pow(5).longValue()));
58 assertEquals("1024PB", Formatter.formatFileSize(mContext, bd.pow(6).longValue()));
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/
11.10-1.js 74 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(2,p) )
    [all...]
11.10-2.js 73 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(2,p) )
    [all...]
11.10-3.js 73 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(2,p) )
    [all...]
11.4.8.js 65 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(2,p) )
    [all...]
11.7.2.js 76 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(2,p) )
    [all...]
11.7.1.js 74 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(2,p)
    [all...]
11.7.3.js 78 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(2,p)
    [all...]
  /libcore/luni/src/main/java/java/lang/
RealToString.java 93 int pow; local
96 pow = 1 - p; // a denormalized number
106 pow = e - p;
110 if (-59 < pow && pow < 6 || (pow == -59 && !mantissaIsZero)) {
111 longDigitGenerator(f, pow, e == 0, mantissaIsZero, numBits);
113 bigIntDigitGenerator(f, pow, e == 0, numBits);
155 int pow; local
158 pow = 1 - p; // a denormalized numbe
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/RegExp/
15.10.6.2-2.js 160 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(2,32)
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/GlobalObject/
15.1.2.2-1.js 142 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(16,POWER)*15
    [all...]
  /external/stlport/test/unit/
valarray_test.cpp 56 tmp = pow(darray, tmp);
57 tmp = pow(1.0, darray);
58 tmp = pow(darray, 1.0);
82 tmp = pow(farray, tmp);
83 tmp = pow(1.0f, farray);
84 tmp = pow(farray, 1.0f);
109 tmp = pow(ldarray, tmp);
110 tmp = pow(1.0l, ldarray);
111 tmp = pow(ldarray, 1.0l);
  /ndk/tests/device/test-gnustl-full/unit/
valarray_test.cpp 56 tmp = pow(darray, tmp);
57 tmp = pow(1.0, darray);
58 tmp = pow(darray, 1.0);
82 tmp = pow(farray, tmp);
83 tmp = pow(1.0f, farray);
84 tmp = pow(farray, 1.0f);
109 tmp = pow(ldarray, tmp);
110 tmp = pow(1.0l, ldarray);
111 tmp = pow(ldarray, 1.0l);
  /ndk/tests/device/test-stlport/unit/
valarray_test.cpp 56 tmp = pow(darray, tmp);
57 tmp = pow(1.0, darray);
58 tmp = pow(darray, 1.0);
82 tmp = pow(farray, tmp);
83 tmp = pow(1.0f, farray);
84 tmp = pow(farray, 1.0f);
109 tmp = pow(ldarray, tmp);
110 tmp = pow(1.0l, ldarray);
111 tmp = pow(ldarray, 1.0l);
  /libcore/luni/src/main/java/java/math/
Multiplication.java 127 return BigInteger.TEN.pow(intExp);
130 return bigFivePows[1].pow(intExp).shiftLeft(intExp);
144 return bigFivePows[1].pow(intExp).shiftLeft(intExp);
153 BigInteger powerOfFive = bigFivePows[1].pow(Integer.MAX_VALUE);
162 res = res.multiply(bigFivePows[1].pow(intExp));
188 return val.multiply(bigFivePows[1].pow(exp));
  /external/stlport/stlport/stl/config/
_epilog.h 9 # pragma option -w-pow // -w-8062 Previous options and warnings not restored

Completed in 497 milliseconds

1 2 3 4 5 6 7 8 91011>>