/prebuilts/ndk/android-ndk-r7/platforms/android-9/arch-arm/usr/include/linux/ |
calc64.h | 19 #define div_long_long_rem(dividend, divisor, remainder) do_div_llr((dividend), divisor, remainder)
|
/prebuilts/ndk/android-ndk-r7/platforms/android-9/arch-x86/usr/include/linux/ |
calc64.h | 19 #define div_long_long_rem(dividend, divisor, remainder) do_div_llr((dividend), divisor, remainder)
|
/libcore/luni/src/main/java/java/math/ |
Division.java | 50 final int divisor) { 53 long bLong = divisor & 0xffffffffL; 67 long bPos = divisor >>> 1; 72 if ((divisor & 1) != 0) { 73 // the divisor is odd
|
BigDecimal.java | 1120 long divisor = scaledDivisor.longValue(); local [all...] |
/external/guava/guava/src/com/google/common/primitives/ |
UnsignedLongs.java | 171 * Returns dividend / divisor, where the dividend and divisor are treated as unsigned 64-bit 175 * @param divisor the divisor (denominator) 176 * @throws ArithmeticException if divisor is 0 178 public static long divide(long dividend, long divisor) { 179 if (divisor < 0) { // i.e., divisor >= 2^63: 180 if (compare(dividend, divisor) < 0) { 181 return 0; // dividend < divisor [all...] |
UnsignedInts.java | 169 * Returns dividend / divisor, where the dividend and divisor are treated as unsigned 32-bit 173 * @param divisor the divisor (denominator) 174 * @throws ArithmeticException if divisor is 0 176 public static int divide(int dividend, int divisor) { 177 return (int) (toLong(dividend) / toLong(divisor)); 181 * Returns dividend % divisor, where the dividend and divisor are treated as unsigned 32-bit 185 * @param divisor the divisor (denominator [all...] |
/external/v8/test/mjsunit/ |
div-mod.js | 44 function run_tests_for(divisor) { 45 print("(function(left) { return left / " + divisor + "; })"); 46 var div_func = this.eval("(function(left) { return left / " + divisor + "; })"); 47 var mod_func = this.eval("(function(left) { return left % " + divisor + "; })"); 50 divmod(div_func, mod_func, 0, divisor); 51 divmod(div_func, mod_func, 1 / 0, divisor); 54 divmod(div_func, mod_func, Math.pow(2, exp), divisor); 55 divmod(div_func, mod_func, 0.9999999 * Math.pow(2, exp), divisor); 56 divmod(div_func, mod_func, 1.0000001 * Math.pow(2, exp), divisor); 60 divmod(div_func, mod_func, 1 << exp, divisor); [all...] |
/external/webkit/Source/JavaScriptCore/wtf/ |
StdLibExtras.h | 118 template<size_t divisor> inline size_t roundUpToMultipleOf(size_t x) 120 COMPILE_ASSERT(divisor && !(divisor & (divisor - 1)), divisor_is_a_power_of_two); 122 size_t remainderMask = divisor - 1;
|
/external/compiler-rt/test/Unit/ |
divdc3_test.c | 55 double _Complex divisor; local 59 __real__ divisor = c; local 60 __imag__ divisor = d; local 65 switch (classify(divisor)) 90 switch (classify(divisor)) 121 switch (classify(divisor)) 146 switch (classify(divisor)) 171 switch (classify(divisor))
|
divsc3_test.c | 55 float _Complex divisor; local 59 __real__ divisor = c; local 60 __imag__ divisor = d; local 65 switch (classify(divisor)) 90 switch (classify(divisor)) 121 switch (classify(divisor)) 146 switch (classify(divisor)) 171 switch (classify(divisor))
|
divtc3_test.c | 59 long double _Complex divisor; local 63 __real__ divisor = c; local 64 __imag__ divisor = d; local 69 switch (classify(divisor)) 94 switch (classify(divisor)) 125 switch (classify(divisor)) 150 switch (classify(divisor)) 175 switch (classify(divisor))
|
divxc3_test.c | 58 long double _Complex divisor; local 62 __real__ divisor = c; local 63 __imag__ divisor = d; local 68 switch (classify(divisor)) 93 switch (classify(divisor)) 124 switch (classify(divisor)) 149 switch (classify(divisor)) 174 switch (classify(divisor))
|
muldc3_test.c | 55 double _Complex divisor; local 59 __real__ divisor = c; local 60 __imag__ divisor = d; local 65 switch (classify(divisor)) 90 switch (classify(divisor)) 117 switch (classify(divisor)) 142 switch (classify(divisor)) 167 switch (classify(divisor))
|
mulsc3_test.c | 55 float _Complex divisor; local 59 __real__ divisor = c; local 60 __imag__ divisor = d; local 65 switch (classify(divisor)) 90 switch (classify(divisor)) 121 switch (classify(divisor)) 146 switch (classify(divisor)) 171 switch (classify(divisor))
|
multc3_test.c | 58 long double _Complex divisor; local 62 __real__ divisor = c; local 63 __imag__ divisor = d; local 68 switch (classify(divisor)) 93 switch (classify(divisor)) 120 switch (classify(divisor)) 145 switch (classify(divisor)) 170 switch (classify(divisor))
|
mulxc3_test.c | 58 long double _Complex divisor; local 62 __real__ divisor = c; local 63 __imag__ divisor = d; local 68 switch (classify(divisor)) 93 switch (classify(divisor)) 120 switch (classify(divisor)) 145 switch (classify(divisor)) 170 switch (classify(divisor))
|
/frameworks/compile/libbcc/runtime/test/Unit/ |
divdc3_test.c | 55 double _Complex divisor; local 59 __real__ divisor = c; local 60 __imag__ divisor = d; local 65 switch (classify(divisor)) 90 switch (classify(divisor)) 121 switch (classify(divisor)) 146 switch (classify(divisor)) 171 switch (classify(divisor))
|
divsc3_test.c | 55 float _Complex divisor; local 59 __real__ divisor = c; local 60 __imag__ divisor = d; local 65 switch (classify(divisor)) 90 switch (classify(divisor)) 121 switch (classify(divisor)) 146 switch (classify(divisor)) 171 switch (classify(divisor))
|
divtc3_test.c | 59 long double _Complex divisor; local 63 __real__ divisor = c; local 64 __imag__ divisor = d; local 69 switch (classify(divisor)) 94 switch (classify(divisor)) 125 switch (classify(divisor)) 150 switch (classify(divisor)) 175 switch (classify(divisor))
|
divxc3_test.c | 58 long double _Complex divisor; local 62 __real__ divisor = c; local 63 __imag__ divisor = d; local 68 switch (classify(divisor)) 93 switch (classify(divisor)) 124 switch (classify(divisor)) 149 switch (classify(divisor)) 174 switch (classify(divisor))
|
muldc3_test.c | 55 double _Complex divisor; local 59 __real__ divisor = c; local 60 __imag__ divisor = d; local 65 switch (classify(divisor)) 90 switch (classify(divisor)) 117 switch (classify(divisor)) 142 switch (classify(divisor)) 167 switch (classify(divisor))
|
mulsc3_test.c | 55 float _Complex divisor; local 59 __real__ divisor = c; local 60 __imag__ divisor = d; local 65 switch (classify(divisor)) 90 switch (classify(divisor)) 121 switch (classify(divisor)) 146 switch (classify(divisor)) 171 switch (classify(divisor))
|
multc3_test.c | 58 long double _Complex divisor; local 62 __real__ divisor = c; local 63 __imag__ divisor = d; local 68 switch (classify(divisor)) 93 switch (classify(divisor)) 120 switch (classify(divisor)) 145 switch (classify(divisor)) 170 switch (classify(divisor))
|
mulxc3_test.c | 58 long double _Complex divisor; local 62 __real__ divisor = c; local 63 __imag__ divisor = d; local 68 switch (classify(divisor)) 93 switch (classify(divisor)) 120 switch (classify(divisor)) 145 switch (classify(divisor)) 170 switch (classify(divisor))
|
/external/v8/src/ |
fast-dtoa.cc | 423 uint32_t divisor; local 426 &divisor, &divisor_exponent); 431 // with the divisor exponent + 1. And the divisor is the biggest power of ten 434 int digit = integrals / divisor; 437 integrals %= divisor; 439 // Note that kappa now equals the exponent of the divisor and that the 450 static_cast<uint64_t>(divisor) << -one.e(), unit); 452 divisor /= 10; 531 uint32_t divisor; local [all...] |