/external/chromium_org/v8/test/mjsunit/regress/ |
H A D | regress-2249.js | 31 o[Math.pow(2,30)-1] = 0; 32 o[Math.pow(2,31)-1] = 0;
|
H A D | regress-397.js | 33 assertEquals("Infinity", String(Math.pow(Infinity, 0.5))); 34 assertEquals(0, Math.pow(Infinity, -0.5)); 36 assertEquals("Infinity", String(Math.pow(-Infinity, 0.5))); 37 assertEquals(0, Math.pow(-Infinity, -0.5));
|
H A D | regress-581.js | 28 var pow30 = Math.pow(2, 30); 29 var pow31 = Math.pow(2, 31);
|
/external/clang/test/CodeGen/ |
H A D | nomathbuiltin.c | 6 double pow(double, double); 9 return pow(a, b); 10 // CHECK: call double @pow
|
H A D | le32-libcall-pow.c | 4 // le32 (PNaCl) never generates intrinsics for pow calls, with or without 9 double pow(double, double); 17 // CHECK: call double @pow 18 double l1 = pow(a1, a1); 25 // CHECK: declare double @pow(double, double)
|
/external/chromium_org/v8/test/mjsunit/ |
H A D | math-pow.js | 33 assertEquals(4, Math.pow(2, 2)); 34 assertEquals(2147483648, Math.pow(2, 31)); 35 assertEquals(0.25, Math.pow(2, -2)); 36 assertEquals(0.0625, Math.pow(2, -4)); 37 assertEquals(1, Math.pow(1, 100)); 38 assertEquals(0, Math.pow(0, 1000)); 41 assertEquals(NaN, Math.pow(2, NaN)); 42 assertEquals(NaN, Math.pow(+0, NaN)); 43 assertEquals(NaN, Math.pow(-0, NaN)); 44 assertEquals(NaN, Math.pow(Infinit [all...] |
H A D | 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( [all...] |
H A D | 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( [all...] |
H A D | in.js | 109 o[Math.pow(2,30)-1] = 0; 110 o[Math.pow(2,31)-1] = 0; 115 assertFalse(Math.pow(2,30)-2 in o); 116 assertTrue(Math.pow(2,30)-1 in o); 117 assertFalse(Math.pow(2,30)-0 in o); 118 assertTrue(Math.pow(2,31)-1 in o); 134 a[Math.pow(2,30)-1] = 0; 135 a[Math.pow(2,31)-1] = 0; 140 assertFalse(Math.pow(2,30)-2 in a, "Math.pow( [all...] |
H A D | constant-folding-2.js | 156 assertEquals(1.0, Math.pow(1.0, 0.5)); 158 assertEquals("Infinity", String(Math.pow(Infinity, 0.5))); 160 assertEquals(0, Math.pow(Infinity, -0.5)); 181 assertEquals(Math.pow(2, 52) + 1, Math.round(Math.pow(2, 52) + 1)); 203 assertEquals(Math.pow(2, 52) + 1, Math.floor(Math.pow(2, 52) + 1)); 207 assertEquals(2.25, Math.pow(1.5, 2)); 208 assertTrue(1.8 < Math.pow(1.5, 1.5) && Math.pow(1. [all...] |
H A D | toint32.js | 86 var base = Math.pow(2, 64); 118 var bignum = Math.pow(2, 84) - Math.pow(2, 31); 119 assertEquals(-Math.pow(2,31), toInt32(bignum)); 120 assertEquals(-Math.pow(2,31), toInt32(-bignum)); 123 assertEquals(0, toInt32(bignum - Math.pow(2,31))); 124 assertEquals(0, toInt32(-(bignum - Math.pow(2,31)))); 127 var max_fraction = (1 - Math.pow(2,-53));
|
H A D | math-round.js | 153 var ulp = Math.pow(2, -1022 - 52); 154 var max_denormal = (Math.pow(2, 52) - 1) * ulp; 155 var min_normal = Math.pow(2, -1022); 156 var max_fraction = Math.pow(2, 52) - 0.5; 157 var min_nonfraction = Math.pow(2, 52); 160 var max_smi31 = Math.pow(2,30) - 1; 161 var min_smi31 = -Math.pow(2,30); 162 var max_smi32 = Math.pow(2,31) - 1; 163 var min_smi32 = -Math.pow(2,31); 170 testRound(Math.pow( [all...] |
/external/eigen/doc/snippets/ |
H A D | Cwise_pow.cpp | 2 cout << v.pow(0.333333) << endl;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/gcm/ |
H A D | GCMExponentiator.java | 6 void exponentiateX(long pow, byte[] output); argument
|
/external/chromium_org/third_party/angle/src/common/ |
H A D | mathutil.cpp | 34 static const float g_sharedexp_max = ((pow(2.0f, g_sharedexp_mantissabits) - 1) / 35 pow(2.0f, g_sharedexp_mantissabits)) * 36 pow(2.0f, g_sharedexp_maxexponent - g_sharedexp_bias); 46 const int max_s = floor((max_c / (pow(2.0f, exp_p - g_sharedexp_bias - g_sharedexp_mantissabits))) + 0.5f); 47 const int exp_s = (max_s < pow(2.0f, g_sharedexp_mantissabits)) ? exp_p : exp_p + 1; 50 output.R = floor((red_c / (pow(2.0f, exp_s - g_sharedexp_bias - g_sharedexp_mantissabits))) + 0.5f); 51 output.G = floor((green_c / (pow(2.0f, exp_s - g_sharedexp_bias - g_sharedexp_mantissabits))) + 0.5f); 52 output.B = floor((blue_c / (pow(2.0f, exp_s - g_sharedexp_bias - g_sharedexp_mantissabits))) + 0.5f); 62 *red = inputData->R * pow(2.0f, (int)inputData->E - g_sharedexp_bias - g_sharedexp_mantissabits); 63 *green = inputData->G * pow(2. [all...] |
/external/chromium_org/v8/test/webkit/ |
H A D | integer-extremes.js | 159 var max = Math.pow(2, valueBits - 1) - 1; 160 var min = -Math.pow(2, valueBits - 1);
|
/external/libpng/contrib/tools/ |
H A D | sRGB.h | 26 l = 1.055 * pow(l, 1/2.4) - 0.055; 38 return pow((s+0.055)/1.055, 2.4);
|
/external/ceres-solver/internal/ceres/ |
H A D | autodiff_test.cc | 392 y[0] = *x0 + pow(*x1, 2); 400 y[0] = *x0 + pow(*x1, 2) + pow(*x2, 3); 412 y[0] = *x0 + pow(*x1, 2) + pow(*x2, 3) + pow(*x3, 4); 425 y[0] = *x0 + pow(*x1, 2) + pow(*x2, 3) + pow(*x3, 4) + pow(*x [all...] |
/external/chromium_org/third_party/skia/tools/skpdiff/ |
H A D | generate_pmetric_tables.py | 21 a = 440.0 * pow(1.0 + 0.7 / luminance, -0.2) 22 b = 0.3 * pow(1 + 100.0 / luminance, 0.15) 40 x = pow(0.405 * log_lum + 1.6, 2.18) - 2.86 46 x = pow(0.249 * log_lum + 0.65, 2.7) - 0.72 51 return pow(10.0, x) 56 x = pow(392.498 * contrast, 0.7) 57 x = pow(0.0153 * x, 4.0) 58 return pow(1.0 + x, 0.25) 74 print("%.10f" % pow(i / 1024.0, 1.0 / 3.0), end='f,', file=stream) 90 print("%.10f" % pow( [all...] |
/external/skia/tools/skpdiff/ |
H A D | generate_pmetric_tables.py | 21 a = 440.0 * pow(1.0 + 0.7 / luminance, -0.2) 22 b = 0.3 * pow(1 + 100.0 / luminance, 0.15) 40 x = pow(0.405 * log_lum + 1.6, 2.18) - 2.86 46 x = pow(0.249 * log_lum + 0.65, 2.7) - 0.72 51 return pow(10.0, x) 56 x = pow(392.498 * contrast, 0.7) 57 x = pow(0.0153 * x, 4.0) 58 return pow(1.0 + x, 0.25) 74 print("%.10f" % pow(i / 1024.0, 1.0 / 3.0), end='f,', file=stream) 90 print("%.10f" % pow( [all...] |
/external/libcxx/test/numerics/complex.number/cmplx.over/ |
H A D | pow.pass.cpp | 14 // pow(const T& x, const complex<U>& y); 18 // pow(const complex<T>& x, const U& y); 22 // pow(const complex<T>& x, const complex<U>& y); 43 static_assert((std::is_same<decltype(std::pow(x, y)), std::complex<V> >::value), ""); 44 assert(std::pow(x, y) == pow(std::complex<V>(x, 0), std::complex<V>(y))); 52 static_assert((std::is_same<decltype(std::pow(x, y)), std::complex<V> >::value), ""); 53 assert(std::pow(x, y) == pow(std::complex<V>(x), std::complex<V>(y, 0))); 61 static_assert((std::is_same<decltype(std::pow( [all...] |
/external/chromium_org/v8/test/mjsunit/es6/ |
H A D | math-log1p.js | 43 Math.log1p(8070450532247929/Math.pow(2,60))); 49 assertEquals(Math.pow(2, -55), Math.log1p(Math.pow(2, -55))); 50 assertEquals(9.313225741817976e-10, Math.log1p(Math.pow(2, -30))); 66 assertEquals(1.3862945995384413, Math.log1p(3 + Math.pow(2,-20)));
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
H A D | u_format_srgb.py | 49 return math.pow((x + 0.055) / 1.055, 2.4) 54 return 1.055 * math.pow(x, 0.41666) - 0.055
|
/external/chromium_org/third_party/openmax_dl/dl/sp/src/test/ |
H A D | compare.c | 58 x2 = pow((double) expected[k].Re, 2); 59 y2 = pow((double) expected[k].Im, 2); 64 x2 = pow((double) actual[k].Re - expected[k].Re, 2); 65 y2 = pow((double) actual[k].Im - expected[k].Im, 2); 97 x2 = pow((double) expected[k].Re, 2); 98 y2 = pow((double) expected[k].Im, 2); 103 x2 = pow((double) actual[k].Re - expected[k].Re, 2); 104 y2 = pow((double) actual[k].Im - expected[k].Im, 2); 125 x2 = pow((double) expected[k], 2); 129 x2 = pow((doubl [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_format_srgb.py | 49 return math.pow((x + 0.055) / 1.055, 2.4) 54 return 1.055 * math.pow(x, 0.41666) - 0.055
|