/external/fio/lib/ |
num2str.c | 15 * @pow2: select unit prefix - 0=power-of-10 decimal SI, nonzero=power-of-2 binary IEC 19 char *num2str(uint64_t num, int maxlen, int base, int pow2, int units) 37 if (pow2) 43 base /= thousand[!!pow2]; 74 modulo = num % thousand[!!pow2]; 75 num /= thousand[!!pow2]; 76 carry = modulo >= thousand[!!pow2] / 2; 107 assert(modulo < thousand[!!pow2]); 109 sprintf(tmp, fmt, (double)modulo / (double)thousand[!!pow2]);
|
/external/bison/lib/ |
frexp.c | 83 DOUBLE pow2[64]; /* pow2[i] = 2^2^i */ local 91 DOUBLE pow2_i; /* = pow2[i] */ 108 pow2[i] = pow2_i; 113 while (i > 0 && x < pow2[i - 1]) 125 DOUBLE pow2_i; /* = pow2[i] */ 142 pow2[i] = pow2_i; 155 x *= pow2[i];
|
printf-frexp.c | 90 DOUBLE pow2[64]; /* pow2[i] = 2^2^i */ local 99 DOUBLE pow2_i; /* = pow2[i] */ 116 pow2[i] = pow2_i; 126 DOUBLE pow2_i; /* = pow2[i] */ 143 pow2[i] = pow2_i; 159 x *= pow2[i]; 175 if (x >= pow2[i])
|
/prebuilts/go/darwin-x86/src/strconv/ |
fp_test.go | 16 func pow2(i int) float64 { func 19 return 1 / pow2(-i) 25 return pow2(i/2) * pow2(i-i/2) 43 // We expect that v*pow2(e) fits in a float64, 44 // but pow2(e) by itself may not. Be careful. 46 v *= pow2(-1000) 55 v *= pow2(1000) 63 return v * pow2(e), true 87 return float32(float64(n) * pow2(e)), tru [all...] |
/prebuilts/go/linux-x86/src/strconv/ |
fp_test.go | 16 func pow2(i int) float64 { func 19 return 1 / pow2(-i) 25 return pow2(i/2) * pow2(i-i/2) 43 // We expect that v*pow2(e) fits in a float64, 44 // but pow2(e) by itself may not. Be careful. 46 v *= pow2(-1000) 55 v *= pow2(1000) 63 return v * pow2(e), true 87 return float32(float64(n) * pow2(e)), tru [all...] |
/external/jemalloc/test/unit/ |
util.c | 4 unsigned i, pow2; \ 24 for (pow2 = 1; pow2 < 25; pow2++) { \ 25 for (x = (((t)1) << (pow2-1)) + 1; x <= ((t)1) << pow2; \ 28 ((t)1) << pow2, \
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_pow.py | 16 pow2 = 1
18 self.assertEqual(pow(2, i), pow2)
19 if i != 30 : pow2 = pow2*2
|
/external/python/cpython2/Lib/test/ |
test_pow.py | 16 pow2 = 1 18 self.assertEqual(pow(2, i), pow2) 19 if i != 30 : pow2 = pow2*2
|
/external/vulkan-validation-layers/libs/glm/gtx/ |
optimum_pow.hpp | 57 GLM_FUNC_DECL genType pow2(const genType& x);
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_pow.py | 16 pow2 = 1 18 self.assertEqual(pow(2, i), pow2) 19 if i != 30 : pow2 = pow2*2
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_pow.py | 16 pow2 = 1 18 self.assertEqual(pow(2, i), pow2) 19 if i != 30 : pow2 = pow2*2
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_pow.py | 16 pow2 = 1 18 self.assertEqual(pow(2, i), pow2) 19 if i != 30 : pow2 = pow2*2
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_pow.py | 16 pow2 = 1 18 self.assertEqual(pow(2, i), pow2) 19 if i != 30 : pow2 = pow2*2
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
FixedPointUtil.java | 55 ECPoint pow2 = pow2Table[bit]; local 60 lookupTable[i] = lookupTable[i - step].add(pow2);
|
WNafUtil.java | 81 int pow2 = 1 << width; local 82 int mask = pow2 - 1; 83 int sign = pow2 >>> 1; 107 digit -= pow2; 244 int pow2 = 1 << width; local 245 int mask = pow2 - 1; 246 int sign = pow2 >>> 1; 270 digit -= pow2;
|
/external/jemalloc/include/jemalloc/internal/ |
size_classes.sh | 25 pow2() { function 54 pow2 ${lg_p}; p=${pow2_result} 55 pow2 ${lg_grp}; grp=${pow2_result} 56 pow2 ${lg_delta}; delta=${pow2_result} 66 lg ${ndelta}; lg_ndelta=${lg_result}; pow2 ${lg_ndelta} 110 pow2 $((${lg_z} + 3)); ptr_bits=${pow2_result} 111 pow2 ${lg_g}; g=${pow2_result}
|
/external/opencv/cvaux/src/ |
cvvecfacetracking.cpp | 95 iEnergy = 1 * pow2(r.width - prev.r.width) + 96 1 * pow2(r.height - prev.r.height) + 97 1 * pow2(iColor - prev_color) / 4 + 810 4 * pow2(ppNew[LEYE]->r.width - ppNew[REYE]->r.width) + 811 4 * pow2(ppNew[LEYE]->r.height - ppNew[REYE]->r.height) + [all...] |
_cvvectrack.h | 57 inline int pow2(int v) function
|
/external/llvm/test/MC/ARM/AlignedBundling/ |
group-bundle-arm.s | 23 # pow2 here
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
ml_math_func.c | 745 int pow2, sq2scale, nr_iters; local 769 nr_iters = test_limits_and_scale(&x0, &pow2); 771 sq2scale=pow2%2; // Find remainder. Is it even or odd? 796 *rempow = (pow2>>1) + 1; // Account for sqrt(2) in denominator, note we multiply if s2scale is true 800 *rempow = pow2>>1; 827 int pow2, sq2scale, nr_iters; local 838 nr_iters = test_limits_and_scale(&x0, &pow2); 841 if (pow2 > 0) 842 sq2scale=pow2%2; // Find remainder. Is it even or odd? 843 pow2 = pow2-sq2scale; // Now pow2 is even. Note we are adding because result is scaled with sqrt(2 [all...] |
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
ml_math_func.c | 745 int pow2, sq2scale, nr_iters; local 769 nr_iters = test_limits_and_scale(&x0, &pow2); 771 sq2scale=pow2%2; // Find remainder. Is it even or odd? 796 *rempow = (pow2>>1) + 1; // Account for sqrt(2) in denominator, note we multiply if s2scale is true 800 *rempow = pow2>>1; 827 int pow2, sq2scale, nr_iters; local 838 nr_iters = test_limits_and_scale(&x0, &pow2); 841 if (pow2 > 0) 842 sq2scale=pow2%2; // Find remainder. Is it even or odd? 843 pow2 = pow2-sq2scale; // Now pow2 is even. Note we are adding because result is scaled with sqrt(2 [all...] |
/external/fio/ |
parse.h | 80 int pow2; /* must be a power-of-2 */ member in struct:fio_option
|
/external/skia/src/core/ |
SkGeometry.h | 249 * N = 1 << pow2. The amount of storage needed is (1 + 2 * N) 251 int SK_WARN_UNUSED_RESULT chopIntoQuadsPOW2(SkPoint pts[], int pow2) const; 397 int pow2 = conic.computeQuadPOW2(tol); local 398 fQuadCount = 1 << pow2; 400 fQuadCount = conic.chopIntoQuadsPOW2(pts, pow2);
|
SkGeometry.cpp | 1166 int pow2; local [all...] |
/external/skia/src/gpu/ |
GrPathUtils.cpp | 59 int pow2 = GrNextPow2(temp); local 61 // such that pow2 comes out negative. Also, our point generator 63 if (pow2 < 1) { 64 pow2 = 1; 66 return SkTMin(pow2, kMaxPointsPerCurve); 115 int pow2 = GrNextPow2(temp); local 117 // such that pow2 comes out negative. Also, our point generator 119 if (pow2 < 1) { 120 pow2 = 1; 122 return SkTMin(pow2, kMaxPointsPerCurve) [all...] |