/external/clang/test/CodeGen/ |
nomathbuiltin.c | 6 double pow(double, double); 9 return pow(a, b); 10 // CHECK: call double @pow
|
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/eigen/doc/snippets/ |
Cwise_pow.cpp | 2 cout << v.pow(0.333333) << endl;
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_pow.py | 8 self.assertEqual(pow(type(i), 0), 1) 9 self.assertEqual(pow(type(i), 1), type(i)) 10 self.assertEqual(pow(type(0), 1), type(0)) 11 self.assertEqual(pow(type(1), 1), type(1)) 14 self.assertEqual(pow(type(i), 3), i*i*i) 18 self.assertEqual(pow(2, i), pow2) 26 pow(ii, jj) 34 self.assertRaises(ZeroDivisionError, pow, zero, exp) 52 self.assertRaises(TypeError, pow, type(i), j, k) 55 pow(type(i),j,k) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_pow.py | 8 self.assertEqual(pow(type(i), 0), 1) 9 self.assertEqual(pow(type(i), 1), type(i)) 10 self.assertEqual(pow(type(0), 1), type(0)) 11 self.assertEqual(pow(type(1), 1), type(1)) 14 self.assertEqual(pow(type(i), 3), i*i*i) 18 self.assertEqual(pow(2, i), pow2) 26 pow(ii, jj) 34 self.assertRaises(ZeroDivisionError, pow, zero, exp) 52 self.assertRaises(TypeError, pow, type(i), j, k) 55 pow(type(i),j,k) [all...] |
/external/chromium_org/v8/test/mjsunit/ |
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(Infinity, NaN)) [all...] |
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...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/gcm/ |
GCMExponentiator.java | 6 void exponentiateX(long pow, byte[] output);
|
Tables1kGCMExponentiator.java | 25 public void exponentiateX(long pow, byte[] output) 29 while (pow > 0) 31 if ((pow & 1L) != 0) 37 pow >>>= 1;
|
/external/chromium_org/third_party/angle/src/common/ |
mathutil.cpp | 33 static const float g_sharedexp_max = ((pow(2.0f, g_sharedexp_mantissabits) - 1) / 34 pow(2.0f, g_sharedexp_mantissabits)) * 35 pow(2.0f, g_sharedexp_maxexponent - g_sharedexp_bias); 45 const int max_s = floor((max_c / (pow(2.0f, exp_p - g_sharedexp_bias - g_sharedexp_mantissabits))) + 0.5f); 46 const int exp_s = (max_s < pow(2.0f, g_sharedexp_mantissabits)) ? exp_p : exp_p + 1; 49 output.R = floor((red_c / (pow(2.0f, exp_s - g_sharedexp_bias - g_sharedexp_mantissabits))) + 0.5f); 50 output.G = floor((green_c / (pow(2.0f, exp_s - g_sharedexp_bias - g_sharedexp_mantissabits))) + 0.5f); 51 output.B = floor((blue_c / (pow(2.0f, exp_s - g_sharedexp_bias - g_sharedexp_mantissabits))) + 0.5f); 61 *red = inputData->R * pow(2.0f, (int)inputData->E - g_sharedexp_bias - g_sharedexp_mantissabits); 62 *green = inputData->G * pow(2.0f, (int)inputData->E - g_sharedexp_bias - g_sharedexp_mantissabits) [all...] |
/external/libpng/contrib/tools/ |
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/ |
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(*x4, 5) [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
TestPow.rs | 26 return pow(inX, inY); 31 return pow(inX, inY); 36 return pow(inX, inY); 41 return pow(inX, inY);
|
/cts/tests/tests/text/src/android/text/format/cts/ |
FormatterTest.java | 39 assertEquals("1.00KB", Formatter.formatFileSize(mContext, bd.pow(1).longValue())); 41 assertEquals("1.00MB", Formatter.formatFileSize(mContext, bd.pow(2).longValue())); 43 assertEquals("1.00GB", Formatter.formatFileSize(mContext, bd.pow(3).longValue())); 45 assertEquals("1.00TB", Formatter.formatFileSize(mContext, bd.pow(4).longValue())); 47 assertEquals("1.00PB", Formatter.formatFileSize(mContext, bd.pow(5).longValue())); 49 assertEquals("1024PB", Formatter.formatFileSize(mContext, bd.pow(6).longValue()));
|
/external/chromium_org/third_party/skia/tools/skpdiff/ |
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(i / 255.0, 2.2), end='f,', file=stream [all...] |
/external/skia/tools/skpdiff/ |
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(i / 255.0, 2.2), end='f,', file=stream [all...] |
/external/libcxx/test/numerics/complex.number/cmplx.over/ |
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(x, y)), std::complex<V> >::value), "") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/cmplx.over/ |
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(x, y)), std::complex<V> >::value), "") [all...] |
/external/chromium_org/third_party/openmax_dl/dl/sp/src/test/ |
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((double) actual[k] - expected[k], 2) [all...] |
/ndk/tests/device/test-stlport_shared-exception/jni/ |
ref9.cpp | 30 ex pow() { return basic(); } function 34 try { pow (); } catch (int) {}
|
/ndk/tests/device/test-stlport_static-exception/jni/ |
ref9.cpp | 30 ex pow() { return basic(); } function 34 try { pow (); } catch (int) {}
|
/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/chromium_org/content/common/ |
page_zoom.cc | 21 return std::pow(kTextSizeMultiplierRatio, zoom_level);
|
/external/eigen/unsupported/doc/examples/ |
MatrixPower.cpp | 14 "The matrix power A^(pi/4) is:\n" << A.pow(pi/4) << std::endl;
|