Home
last modified time | relevance | path

Searched refs:quotient (Results 1 – 25 of 49) sorted by relevance

12

/external/compiler-rt/lib/builtins/
Ddivdf3.c135 rep_t quotient, quotientLo; in ARM_EABI_FNALIAS() local
136 wideMultiply(aSignificand << 2, reciprocal, &quotient, &quotientLo); in ARM_EABI_FNALIAS()
152 if (quotient < (implicitBit << 1)) { in ARM_EABI_FNALIAS()
153 residual = (aSignificand << 53) - quotient * bSignificand; in ARM_EABI_FNALIAS()
156 quotient >>= 1; in ARM_EABI_FNALIAS()
157 residual = (aSignificand << 52) - quotient * bSignificand; in ARM_EABI_FNALIAS()
176 rep_t absResult = quotient & significandMask; in ARM_EABI_FNALIAS()
Ddivsf3.c121 rep_t quotient = (uint64_t)reciprocal*(aSignificand << 1) >> 32; in ARM_EABI_FNALIAS() local
137 if (quotient < (implicitBit << 1)) { in ARM_EABI_FNALIAS()
138 residual = (aSignificand << 24) - quotient * bSignificand; in ARM_EABI_FNALIAS()
141 quotient >>= 1; in ARM_EABI_FNALIAS()
142 residual = (aSignificand << 23) - quotient * bSignificand; in ARM_EABI_FNALIAS()
161 rep_t absResult = quotient & significandMask; in ARM_EABI_FNALIAS()
Ddivtf3.c149 rep_t quotient, quotientLo; in __divtf3() local
150 wideMultiply(aSignificand << 2, reciprocal, &quotient, &quotientLo); in __divtf3()
168 if (quotient < (implicitBit << 1)) { in __divtf3()
169 wideMultiply(quotient, bSignificand, &dummy, &qb); in __divtf3()
173 quotient >>= 1; in __divtf3()
174 wideMultiply(quotient, bSignificand, &dummy, &qb); in __divtf3()
192 rep_t absResult = quotient & significandMask; in __divtf3()
/external/icu/icu4c/source/i18n/
Dgregoimp.cpp34 double quotient; in floorDivide() local
35 quotient = uprv_floor(numerator / denominator); in floorDivide()
36 remainder = (int32_t) (numerator - (quotient * denominator)); in floorDivide()
37 return (int32_t) quotient; in floorDivide()
44 double quotient = floorDivide(dividend, divisor); in floorDivide() local
45 remainder = dividend - (quotient * divisor); in floorDivide()
53 double q = quotient; in floorDivide()
54 quotient += (remainder < 0) ? -1 : +1; in floorDivide()
55 if (q == quotient) { in floorDivide()
67 remainder = dividend - (quotient * divisor); in floorDivide()
[all …]
/external/guava/guava/src/com/google/common/primitives/
DUnsignedLongs.java202 long quotient = ((dividend >>> 1) / divisor) << 1; in divide() local
203 long rem = dividend - quotient * divisor; in divide()
204 return quotient + (compare(rem, divisor) >= 0 ? 1 : 0); in divide()
236 long quotient = ((dividend >>> 1) / divisor) << 1; in remainder() local
237 long rem = dividend - quotient * divisor; in remainder()
368 long quotient = divide(x, radix); in toString() local
369 long rem = x - quotient * radix; in toString()
371 x = quotient; in toString()
/external/pdfium/xfa/src/fxbarcode/pdf417/
DBC_PDF417ECModulusPoly.cpp245 CBC_PDF417ECModulusPoly* quotient = new CBC_PDF417ECModulusPoly( in divide() local
251 delete quotient; in divide()
258 delete quotient; in divide()
270 delete quotient; in divide()
277 delete quotient; in divide()
282 CBC_PDF417ECModulusPoly* temp = quotient; in divide()
283 quotient = temp->add(iterationQuotient, e); in divide()
295 delete quotient; in divide()
300 modulusPoly->Add(quotient); in divide()
/external/v8/src/compiler/
Dmachine-operator-reducer.cc94 Node* quotient = graph()->NewNode(machine()->Int32MulHigh(), dividend, in Int32Div() local
97 quotient = Int32Add(quotient, dividend); in Int32Div()
99 quotient = Int32Sub(quotient, dividend); in Int32Div()
101 return Int32Add(Word32Sar(quotient, mag.shift), Word32Shr(dividend, 31)); in Int32Div()
115 Node* quotient = graph()->NewNode(machine()->Uint32MulHigh(), dividend, in Uint32Div() local
119 quotient = Word32Shr( in Uint32Div()
120 Int32Add(Word32Shr(Int32Sub(dividend, quotient), 1), quotient), in Uint32Div()
123 quotient = Word32Shr(quotient, mag.shift); in Uint32Div()
125 return quotient; in Uint32Div()
526 Node* quotient = dividend; in ReduceInt32Div() local
[all …]
/external/llvm/test/CodeGen/X86/
Ddiv8.ll10 %quotient = alloca i8, align 1
19 store i8 %div, i8* %quotient, align 1
20 %tmp4 = load i8, i8* %quotient, align 1
Dinline-asm-R-constraint.ll7 define void @udiv8(i8* %quotient, i16 zeroext %a, i8 zeroext %b, i8 zeroext %c, i8* %remainder) nou…
15 …vb %ah, ($4)", "=*m,=*m,*m,*m,R,~{dirflag},~{fpsr},~{flags},~{ax}"(i8* %quotient, i8* %remainder, …
/external/llvm/test/CodeGen/ARM/
Ddiv.ll46 ; EABI MODE = Remainder in R1, quotient in R0
61 ; EABI MODE = Remainder in R1, quotient in R0
76 ; EABI MODE = Remainder in R2-R3, quotient in R0-R1
91 ; EABI MODE = Remainder in R2-R3, quotient in R0-R1
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DGrego.java194 long quotient = ((numerator + 1) / denominator) - 1; in floorDivide() local
195 remainder[0] = numerator - (quotient * denominator); in floorDivide()
196 return quotient; in floorDivide()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DGrego.java196 long quotient = ((numerator + 1) / denominator) - 1; in floorDivide() local
197 remainder[0] = numerator - (quotient * denominator); in floorDivide()
198 return quotient; in floorDivide()
/external/compiler-rt/lib/builtins/arm/
Ddivmodsi4.S31 @ Calculate the quotient and remainder of the (signed) division. The return
32 @ value is the quotient, the remainder is placed in the variable.
Dudivmodsi4.S26 @ Calculate the quotient and remainder of the (unsigned) division. The return
27 @ value is the quotient, the remainder is placed in the variable.
Ddivsi3.S34 @ Calculate and return the quotient of the (signed) division.
/external/v8/src/
Dfixed-dtoa.cc322 uint32_t quotient; in FastFixedDtoa() local
336 quotient = static_cast<uint32_t>(dividend / divisor); in FastFixedDtoa()
340 quotient = static_cast<uint32_t>(dividend / divisor); in FastFixedDtoa()
343 FillDigits32(quotient, buffer, length); in FastFixedDtoa()
Dbignum.cc505 int quotient = this_bigit / other_bigit; in DivideModuloIntBignum() local
506 bigits_[used_digits_ - 1] = this_bigit - other_bigit * quotient; in DivideModuloIntBignum()
507 result += quotient; in DivideModuloIntBignum()
/external/llvm/test/CodeGen/ARM/Windows/
Dno-aeabi.ll27 %quotient = sdiv i32 %i, %j
28 ret i32 %quotient
/external/v8/test/mjsunit/
Dtop-level-assignments.js90 Calculator.prototype.quotient = function() { return this.x / this.y; }; method in Calculator
96 assertEquals(2, calc.quotient());
/external/pdfium/xfa/src/fxbarcode/common/reedsolomon/
DBC_ReedSolomonGF256Poly.cpp221 CBC_AutoPtr<CBC_ReedSolomonGF256Poly> quotient(rsg1); in Divide() local
243 quotient->AddOrSubtract(iteratorQuotient.get(), e); in Divide()
246 quotient = temp; in Divide()
253 tempPtrA->Add(quotient.release()); in Divide()
/external/skia/src/codec/
DSkBmpStandardCodec.cpp311 int quotient; in decodeIcoMask() local
313 SkTDivMod(srcX, 8, &quotient, &modulus); in decodeIcoMask()
315 uint32_t alphaBit = (fSrcBuffer.get()[quotient] >> shift) & 0x1; in decodeIcoMask()
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
DDfp.java1580 int quotient[]; // quotient in divide() local
1642quotient = new int[mant.length+2]; // two extra digits needed 1 for overflow, 1 for rounding in divide()
1648 quotient[mant.length] = 0; in divide()
1649 quotient[mant.length+1] = 0; in divide()
1657 quotient[i] = 0; in divide()
1731 quotient[qd] = trial; in divide()
1756 if (quotient[i] != 0) { in divide()
1764 result.mant[mant.length-i-1] = quotient[md-i]; in divide()
1776 excp = result.round(quotient[md-mant.length]); in divide()
/external/valgrind/exp-bbv/tests/arm-linux/
Dll.S407 @ r7=quotient r8=remainder
411 mov r7,#0 @ zero out quotient
414 add r7,r7,#1 @ increment quotient
/external/pdfium/third_party/freetype/src/smooth/
Dftgrays.c338 #define FT_DIV_MOD( type, dividend, divisor, quotient, remainder ) \ argument
340 (quotient) = (type)( (dividend) / (divisor) ); \
344 (quotient)--; \
356 #define FT_DIV_MOD( type, dividend, divisor, quotient, remainder ) \ argument
358 (quotient) = (type)( (dividend) / (divisor) ); \
359 (remainder) = (type)( (dividend) - (quotient) * (divisor) ); \
362 (quotient)--; \
/external/freetype/src/smooth/
Dftgrays.c339 #define FT_DIV_MOD( type, dividend, divisor, quotient, remainder ) \ argument
341 (quotient) = (type)( (dividend) / (divisor) ); \
345 (quotient)--; \
357 #define FT_DIV_MOD( type, dividend, divisor, quotient, remainder ) \ argument
359 (quotient) = (type)( (dividend) / (divisor) ); \
360 (remainder) = (type)( (dividend) - (quotient) * (divisor) ); \
363 (quotient)--; \

12