Searched refs:quotient (Results 1 - 25 of 26) sorted by relevance

12

/external/compiler-rt/lib/builtins/
H A Ddivdf3.c135 rep_t quotient, quotientLo; local
136 wideMultiply(aSignificand << 2, reciprocal, &quotient, &quotientLo);
138 // Two cases: quotient is in [0.5, 1.0) or quotient is in [1.0, 2.0).
149 // We also take this time to right shift quotient if it falls in the [1,2)
152 if (quotient < (implicitBit << 1)) {
153 residual = (aSignificand << 53) - quotient * bSignificand;
156 quotient >>= 1;
157 residual = (aSignificand << 52) - quotient * bSignificand;
176 rep_t absResult = quotient
[all...]
H A Ddivsf3.c121 rep_t quotient = (uint64_t)reciprocal*(aSignificand << 1) >> 32; local
123 // Two cases: quotient is in [0.5, 1.0) or quotient is in [1.0, 2.0).
134 // We also take this time to right shift quotient if it falls in the [1,2)
137 if (quotient < (implicitBit << 1)) {
138 residual = (aSignificand << 24) - quotient * bSignificand;
141 quotient >>= 1;
142 residual = (aSignificand << 23) - quotient * bSignificand;
161 rep_t absResult = quotient & significandMask;
H A Ddivtf3.c149 rep_t quotient, quotientLo; local
150 wideMultiply(aSignificand << 2, reciprocal, &quotient, &quotientLo);
152 // Two cases: quotient is in [0.5, 1.0) or quotient is in [1.0, 2.0).
163 // We also take this time to right shift quotient if it falls in the [1,2)
168 if (quotient < (implicitBit << 1)) {
169 wideMultiply(quotient, bSignificand, &dummy, &qb);
173 quotient >>= 1;
174 wideMultiply(quotient, bSignificand, &dummy, &qb);
192 rep_t absResult = quotient
[all...]
/external/chromium_org/third_party/icu/source/i18n/
H A Dgregoimp.cpp34 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/icu/icu4c/source/i18n/
H A Dgregoimp.cpp34 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/chromium_org/v8/test/mjsunit/
H A Dtop-level-assignments.js90 Calculator.prototype.quotient = function() { return this.x / this.y; };
96 assertEquals(2, calc.quotient());
/external/guava/guava/src/com/google/common/primitives/
H A DUnsignedLongs.java193 * Otherwise, approximate the quotient, check, and correct if necessary. Our approximation is
198 long quotient = ((dividend >>> 1) / divisor) << 1;
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;
233 long rem = dividend - quotient * divisor;
/external/chromium_org/third_party/WebKit/Source/wtf/dtoa/
H A Dfixed-dtoa.cc336 // 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);
H A Dbignum.cc528 int quotient = this_bigit / other_bigit;
529 bigits_[used_digits_ - 1] = this_bigit - other_bigit * quotient;
530 result += quotient;
/external/chromium_org/v8/src/
H A Dfixed-dtoa.cc314 // The quotient delivers the first digits, and the remainder fits into a 64
321 uint32_t quotient; local
324 // Then need q (quotient) and r (remainder) as follows:
335 quotient = static_cast<uint32_t>(dividend / divisor);
339 quotient = static_cast<uint32_t>(dividend / divisor);
342 FillDigits32(quotient, buffer, length);
H A Dbignum.cc505 int quotient = this_bigit / other_bigit;
506 bigits_[used_digits_ - 1] = this_bigit - other_bigit * quotient;
507 result += quotient;
/external/chromium_org/third_party/WebKit/Source/platform/
H A DDecimal.cpp166 uint32_t quotient[4]; local
171 quotient[i] = static_cast<uint32_t>(work / divisor);
173 m_low = makeUInt64(quotient[0], quotient[1]);
174 m_high = makeUInt64(quotient[2], quotient[3]);
897 const Decimal quotient = *this / rhs;
898 return quotient.isSpecial() ? quotient : *this - (quotient
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/cpu/arm/filters/
H A DFEBlendNEON.h42 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/valgrind/main/exp-bbv/tests/arm-linux/
H A Dll.S407 @ r7=quotient r8=remainder
411 mov r7,#0 @ zero out quotient
414 add r7,r7,#1 @ increment quotient
/external/freetype/src/smooth/
H A Dftgrays.c316 /* Compute `dividend / divisor' and return both its quotient and */
319 #define FT_DIV_MOD( type, dividend, divisor, quotient, remainder ) \
321 (quotient) = (type)( (dividend) / (divisor) ); \
325 (quotient)--; \
337 #define FT_DIV_MOD( type, dividend, divisor, quotient, remainder ) \
339 (quotient) = (type)( (dividend) / (divisor) ); \
340 (remainder) = (type)( (dividend) - (quotient) * (divisor) ); \
343 (quotient)--; \
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DDateMath.cpp336 int quotient = difference / 28; local
337 int product = (quotient) * 28;
/external/chromium_org/third_party/boringssl/src/include/openssl/
H A Dbn.h381 /* BN_div divides |numerator| by |divisor| and places the result in |quotient|
382 * and the remainder in |rem|. Either of |quotient| or |rem| may be NULL, in
386 OPENSSL_EXPORT int BN_div(BIGNUM *quotient, BIGNUM *rem,
471 /* BN_mod is a helper macro that calls |BN_div| and discards the quotient. */
/external/chromium_org/v8/src/arm/
H A Dlithium-codegen-arm.cc1262 LowDwVfpRegister quotient = double_scratch0(); local
1263 DCHECK(!quotient.is(dividend));
1264 DCHECK(!quotient.is(divisor));
1286 // Compute the quotient and round it to a 32bit integer.
1287 __ vdiv(quotient, dividend, divisor);
1288 __ vcvt_s32_f64(quotient.low(), quotient);
1289 __ vcvt_f64_s32(quotient, quotient.low());
1292 __ vmul(double_scratch0(), divisor, quotient); local
[all...]
/external/llvm/bindings/ocaml/llvm/
H A Dllvm.mli981 (** [const_udiv c1 c2] returns the constant quotient [c1 / c2] of two unsigned
986 (** [const_sdiv c1 c2] returns the constant quotient [c1 / c2] of two signed
991 (** [const_exact_sdiv c1 c2] returns the constant quotient [c1 / c2] of two
996 (** [const_fdiv c1 c2] returns the constant quotient [c1 / c2] of two floating
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/zxing/core/
H A Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/zxing/ com/google/zxing/aztec/ ...
/external/owasp/sanitizer/distrib/lib/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/owasp/sanitizer/lib/guava-libraries/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/chromium_org/third_party/checkstyle/
H A Dcheckstyle-5.7-all.jarMETA-INF/MANIFEST.MF META-INF/ checkstyle_packages.xml checkstylecompilation.properties checkstyletask.properties com/ ...
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/closure/
H A Dcompiler.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/javascript/ com/google/javascript/jscomp/ ...

Completed in 2785 milliseconds

12