/external/compiler-rt/lib/ |
divdf3.c | 134 rep_t quotient, quotientLo; local 135 wideMultiply(aSignificand << 2, reciprocal, "ient, "ientLo); 137 // Two cases: quotient is in [0.5, 1.0) or quotient is in [1.0, 2.0). 148 // We also take this time to right shift quotient if it falls in the [1,2) 151 if (quotient < (implicitBit << 1)) { 152 residual = (aSignificand << 53) - quotient * bSignificand; 155 quotient >>= 1; 156 residual = (aSignificand << 52) - quotient * bSignificand; 175 rep_t absResult = quotient & significandMask [all...] |
divsf3.c | 120 rep_t quotient = (uint64_t)reciprocal*(aSignificand << 1) >> 32; local 122 // Two cases: quotient is in [0.5, 1.0) or quotient is in [1.0, 2.0). 133 // We also take this time to right shift quotient if it falls in the [1,2) 136 if (quotient < (implicitBit << 1)) { 137 residual = (aSignificand << 24) - quotient * bSignificand; 140 quotient >>= 1; 141 residual = (aSignificand << 23) - quotient * bSignificand; 160 rep_t absResult = quotient & significandMask;
|
/libcore/luni/src/main/java/java/math/ |
Division.java | 49 static int divideArrayByInt(int[] quotient, int[] dividend, final int dividendLength, 64 * get the quotient an remainder and correct them properly 87 quotient[i] = (int) (quot & 0xffffffffL);
|
BigInt.java | 300 static void division(BigInt dividend, BigInt divisor, BigInt quotient, BigInt remainder) { 302 if (quotient != null) { 303 quotient.makeValid(); 304 quot = quotient.bignum;
|
BigInteger.java | 922 BigInt quotient = new BigInt(); local 924 BigInt.division(getBigInt(), divisorBigInt, quotient, remainder); local 925 return new BigInteger[] {new BigInteger(quotient), new BigInteger(remainder) }; 937 BigInt quotient = new BigInt(); local 938 BigInt.division(getBigInt(), divisor.getBigInt(), quotient, null); local [all...] |
BigDecimal.java | 1070 BigInteger quotient = quotAndRem[0]; local 1103 long quotient = scaledDividend \/ scaledDivisor; local [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
gregoimp.cpp | 34 double quotient; local 35 quotient = uprv_floor(numerator / denominator); 36 remainder = (int32_t) (numerator - (quotient * denominator)); 37 return (int32_t) quotient; 44 double quotient = floorDivide(dividend, divisor); local 45 remainder = dividend - (quotient * divisor); 47 // is a bug such that the quotient is off by one. If you doubt 53 double q = quotient; 54 quotient += (remainder < 0) ? -1 : +1; 55 if (q == quotient) { [all...] |
/external/icu4c/i18n/ |
gregoimp.cpp | 34 double quotient; local 35 quotient = uprv_floor(numerator / denominator); 36 remainder = (int32_t) (numerator - (quotient * denominator)); 37 return (int32_t) quotient; 44 double quotient = floorDivide(dividend, divisor); local 45 remainder = dividend - (quotient * divisor); 47 // is a bug such that the quotient is off by one. If you doubt 53 double q = quotient; 54 quotient += (remainder < 0) ? -1 : +1; 55 if (q == quotient) { [all...] |
/libcore/luni/src/main/java/java/util/ |
Grego.java | 194 long quotient = ((numerator + 1) / denominator) - 1;
local 195 remainder[0] = numerator - (quotient * denominator);
196 return quotient;
|
/external/guava/guava/src/com/google/common/primitives/ |
UnsignedLongs.java | 193 * Otherwise, approximate the quotient, check, and correct if necessary. Our approximation is 198 long quotient = ((dividend >>> 1) / divisor) << 1; local 199 long rem = dividend - quotient * divisor; 200 return quotient + (compare(rem, divisor) >= 0 ? 1 : 0); 227 * Otherwise, approximate the quotient, check, and correct if necessary. Our approximation is 232 long quotient = ((dividend >>> 1) / divisor) << 1; local 233 long rem = dividend - quotient * divisor;
|
/external/chromium_org/third_party/WebKit/Source/wtf/dtoa/ |
fixed-dtoa.cc | 336 // The quotient delivers the first digits, and the remainder fits into a 64 343 uint32_t quotient; local 346 // Then need q (quotient) and r (remainder) as follows: 357 quotient = static_cast<uint32_t>(dividend / divisor); 361 quotient = static_cast<uint32_t>(dividend / divisor); 364 FillDigits32(quotient, buffer, length);
|
bignum.cc | 528 int quotient = this_bigit / other_bigit; 529 bigits_[used_digits_ - 1] = this_bigit - other_bigit * quotient; 530 result += quotient;
|
/external/chromium_org/v8/src/ |
fixed-dtoa.cc | 337 // The quotient delivers the first digits, and the remainder fits into a 64 344 uint32_t quotient; local 347 // Then need q (quotient) and r (remainder) as follows: 358 quotient = static_cast<uint32_t>(dividend / divisor); 362 quotient = static_cast<uint32_t>(dividend / divisor); 365 FillDigits32(quotient, buffer, length);
|
bignum.cc | 527 int quotient = this_bigit / other_bigit; 528 bigits_[used_digits_ - 1] = this_bigit - other_bigit * quotient; 529 result += quotient;
|
/external/v8/src/ |
fixed-dtoa.cc | 337 // The quotient delivers the first digits, and the remainder fits into a 64 344 uint32_t quotient; local 347 // Then need q (quotient) and r (remainder) as follows: 358 quotient = static_cast<uint32_t>(dividend / divisor); 362 quotient = static_cast<uint32_t>(dividend / divisor); 365 FillDigits32(quotient, buffer, length);
|
bignum.cc | 526 int quotient = this_bigit / other_bigit; 527 bigits_[used_digits_ - 1] = this_bigit - other_bigit * quotient; 528 result += quotient;
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
Decimal.cpp | 167 uint32_t quotient[4]; local 172 quotient[i] = static_cast<uint32_t>(work / divisor); 174 m_low = makeUInt64(quotient[0], quotient[1]); 175 m_high = makeUInt64(quotient[2], quotient[3]); 911 const Decimal quotient = *this / rhs; 912 return quotient.isSpecial() ? quotient : *this - (quotient.isNegative() ? quotient.ceiling() : quotient.floor()) * rhs [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/cpu/arm/filters/ |
FEBlendNEON.h | 42 uint16x8_t quotient = vshrq_n_u16(num, 8); local 43 uint16x8_t remainder = vaddq_u16(vsubq_u16(num, vmulq_u16(sixteenConst255, quotient)), sixteenConstOne); 44 return vaddq_u16(quotient, vshrq_n_u16(remainder, 8));
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
FEBlend.cpp | 68 uint16_t quotient = value >> 8; local 69 uint16_t remainder = value - (quotient * 255) + 1; 70 return quotient + (remainder >> 8);
|
/external/chromium_org/v8/test/mjsunit/ |
top-level-assignments.js | 90 Calculator.prototype.quotient = function() { return this.x / this.y; }; 96 assertEquals(2, calc.quotient());
|
/external/v8/test/mjsunit/ |
top-level-assignments.js | 90 Calculator.prototype.quotient = function() { return this.x / this.y; }; 96 assertEquals(2, calc.quotient());
|
/external/chromium_org/third_party/WebKit/Tools/TestResultServer/static-dashboards/ |
aggregate_results.js | 263 var quotient = Math.floor(scaledVal / mapLength); 264 var remainder = scaledVal - mapLength * quotient; 265 chartData += map.charAt(quotient) + map.charAt(remainder);
|
/external/valgrind/main/exp-bbv/tests/arm-linux/ |
ll.S | 407 @ r7=quotient r8=remainder 411 mov r7,#0 @ zero out quotient 414 add r7,r7,#1 @ increment quotient
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
DateMath.cpp | 353 int quotient = difference / 28; local 354 int product = (quotient) * 28;
|
/external/chromium_org/v8/src/arm/ |
lithium-codegen-arm.cc | 1197 LowDwVfpRegister quotient = double_scratch0(); local 1227 __ vmul(double_scratch0(), divisor, quotient); local [all...] |