/libcore/luni/src/main/java/java/math/ |
RoundingMode.java | 21 * Specifies the rounding behavior for operations whose results cannot be 27 * Rounding mode where positive values are rounded towards positive infinity 35 * Rounding mode where the values are rounded towards zero. 42 * Rounding mode to round towards positive infinity. For positive values 43 * this rounding mode behaves as {@link #UP}, for negative values as 51 * Rounding mode to round towards negative infinity. For positive values 52 * this rounding mode behaves as {@link #DOWN}, for negative values as 60 * Rounding mode where values are rounded towards the nearest neighbor. Ties 61 * are broken by rounding up. 66 * Rounding mode where values are rounded towards the nearest neighbor. Tie [all...] |
MathContext.java | 26 * Immutable objects describing settings such as rounding mode and digit 35 * {@link RoundingMode#HALF_EVEN} rounding. 42 * rounding. 49 * rounding. 55 * {@link RoundingMode#HALF_UP} rounding. 67 * for rounding. 73 * with the rounding mode {@link RoundingMode#HALF_UP HALF_UP}. If the 75 * be performed exact, the rounding mode in this case is irrelevant. 88 * with the specified rounding mode. If the precision passed is zero, then 90 * rounding mode in this case is irrelevant [all...] |
/external/valgrind/main/none/tests/ppc32/ |
test_dfp1.stdout.exp | 378 Test DFP rounding modes 379 test #0: dmul with rounding mode 0: 26cc3f1f534acdd4 * 27feff197a42ba06 => 4ccf3810908e09f5 381 test #0: dmul with rounding mode 1: 26cc3f1f534acdd4 * 27feff197a42ba06 => 4ccf3810908e09f5 383 test #0: dmul with rounding mode 2: 26cc3f1f534acdd4 * 27feff197a42ba06 => 4ccf3810908e09f6 385 test #0: dmul with rounding mode 3: 26cc3f1f534acdd4 * 27feff197a42ba06 => 4ccf3810908e09f5 387 test #0: dmul with rounding mode 4: 26cc3f1f534acdd4 * 27feff197a42ba06 => 4ccf3810908e09f5 389 test #0: dmul with rounding mode 5: 26cc3f1f534acdd4 * 27feff197a42ba06 => 4ccf3810908e09f5 391 test #0: dmul with rounding mode 6: 26cc3f1f534acdd4 * 27feff197a42ba06 => 4ccf3810908e09f6 393 test #0: dmul with rounding mode 7: 26cc3f1f534acdd4 * 27feff197a42ba06 => 4ccf3810908e09f6 395 test #1: dmul with rounding mode 0: 26cc3f1f534acdd5 * 27feff197a42ba06 => 4ccf3810908e09f [all...] |
/external/valgrind/main/none/tests/ppc64/ |
test_dfp1.stdout.exp | 378 Test DFP rounding modes 379 test #0: dmul with rounding mode 0: 26cc3f1f534acdd4 * 27feff197a42ba06 => 4ccf3810908e09f5 381 test #0: dmul with rounding mode 1: 26cc3f1f534acdd4 * 27feff197a42ba06 => 4ccf3810908e09f5 383 test #0: dmul with rounding mode 2: 26cc3f1f534acdd4 * 27feff197a42ba06 => 4ccf3810908e09f6 385 test #0: dmul with rounding mode 3: 26cc3f1f534acdd4 * 27feff197a42ba06 => 4ccf3810908e09f5 387 test #0: dmul with rounding mode 4: 26cc3f1f534acdd4 * 27feff197a42ba06 => 4ccf3810908e09f5 389 test #0: dmul with rounding mode 5: 26cc3f1f534acdd4 * 27feff197a42ba06 => 4ccf3810908e09f5 391 test #0: dmul with rounding mode 6: 26cc3f1f534acdd4 * 27feff197a42ba06 => 4ccf3810908e09f6 393 test #0: dmul with rounding mode 7: 26cc3f1f534acdd4 * 27feff197a42ba06 => 4ccf3810908e09f6 395 test #1: dmul with rounding mode 0: 26cc3f1f534acdd5 * 27feff197a42ba06 => 4ccf3810908e09f [all...] |
/development/ndk/sources/android/libportable/arch-x86/ |
fenv.c | 48 int rounding = flags & 0x03; local 50 // rounding flags 51 switch(rounding) 91 int rounding = x86flags & _ROUND_MASK; local 93 // rounding flags 94 switch(rounding)
|
/libcore/luni/src/main/java/java/lang/ |
Number.java | 37 * Returns this object's value as a byte. Might involve rounding and/or 47 * Returns this object's value as a double. Might involve rounding. 54 * Returns this object's value as a float. Might involve rounding. 61 * Returns this object's value as an int. Might involve rounding and/or 69 * Returns this object's value as a long. Might involve rounding and/or 77 * Returns this object's value as a short. Might involve rounding and/or
|
/external/valgrind/main/auxprogs/ |
primes.c | 9 for (m = 2; m <= sqrt_n+1; m++) // +1 in case of obscure rounding error
|
/external/chromium_org/ui/base/l10n/ |
l10n_util_win_unittest.cc | 23 float rounding = size < 0 ? -0.5f : 0.5f; 30 lf.lfHeight = static_cast<int>(1.4 * size + rounding); 34 lf.lfHeight = static_cast<int>(1.8 * size + rounding);
|
/external/compiler-rt/lib/i386/ |
floatdidf.S | 26 mulsd REL_ADDR(twop32), %xmm1 // a_hi as a double (without rounding) 28 subsd %xmm2, %xmm1 // a_hi - 0x1p52 (no rounding occurs) 29 orpd %xmm2, %xmm0 // 0x1p52 + a_lo (no rounding occurs)
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/ |
fpu_control.h | 47 * RC: Rounding control 48 * 00 - rounding to nearest 49 * 01 - rounding down (toward - infinity) 50 * 10 - rounding up (toward + infinity) 51 * 11 - rounding toward zero 74 /* rounding control */ 84 and no interrupts for exceptions, rounding to nearest. */
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/ |
fpu_control.h | 47 * RC: Rounding control 48 * 00 - rounding to nearest 49 * 01 - rounding down (toward - infinity) 50 * 10 - rounding up (toward + infinity) 51 * 11 - rounding toward zero 74 /* rounding control */ 84 and no interrupts for exceptions, rounding to nearest. */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/ |
fpu_control.h | 47 * RC: Rounding control 48 * 00 - rounding to nearest 49 * 01 - rounding down (toward - infinity) 50 * 10 - rounding up (toward + infinity) 51 * 11 - rounding toward zero 74 /* rounding control */ 84 and no interrupts for exceptions, rounding to nearest. */
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/ |
omxVCM4P2_MCReconBlock_s.s | 37 ;// rounding cases are handled. Just copies a block from pSrc to pDst 73 ;// rounding cases are handled by the parameter "$rndVal". Averages between 74 ;// a pixel and pixel right to it, rounding it based on $rndVal. The 75 ;// rounding is implemented by using opCode switching between "VRHADD" and 82 ;// $rndVal: 0 for rounding and 1 for no rounding 135 ;// rounding cases are handled by the parameter "$rndVal". Averages between 136 ;// a pixel and pixel below it, rounding it based on $rndVal. The 137 ;// rounding is implemented by using opCode switching between "VRHADD" and 144 ;// $rndVal: 0 for rounding and 1 for no roundin [all...] |
/development/ndk/sources/android/libportable/arch-mips/ |
fenv.c | 45 int rounding = flags & 0x03; local 47 // rounding flags 48 switch(rounding) 88 int rounding = mipsflags & _FCSR_RMASK; local 90 // rounding flags 91 switch(rounding)
|
/dalvik/vm/mterp/x86/ |
cvtfp_int.S | 5 * should be zero. Further, the rounding mode is to truncate. This model 18 fnstcw LOCAL0_OFFSET(%ebp) # remember original rounding mode 22 fldcw LOCAL0_OFFSET+2(%ebp) # set "to zero" rounding mode 29 fldcw LOCAL0_OFFSET(%ebp) # restore previous rounding mode
|
/external/chromium_org/third_party/WebKit/Source/web/tests/data/ |
scale_oscillate.html | 13 This test passes if it doesn't cause oscillating scale factor due to content size rounding errors and creating/destroying of custom scrollbars.
|
/external/llvm/test/CodeGen/ARM/ |
fnmul.ll | 2 ; RUN: llc < %s -march=arm -mattr=+v6,+vfp2 -enable-sign-dependent-rounding-fp-math | grep vmul.f64
|
/external/valgrind/main/VEX/test/ |
fpucw.c | 38 printf("rounding\n");
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
cnmdptst.h | 38 /* Test proper rounding by the format method.*/ 41 /* Test proper handling of rounding modes. */
|
/external/icu4c/test/cintltst/ |
cnmdptst.h | 38 /* Test proper rounding by the format method.*/ 41 /* Test proper handling of rounding modes. */
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/ |
omxVCM4P2_MCReconBlock_s.s | 36 ;// Similar to UHADD8 instruction, but with a rounding value of 1 added to 45 ;// $round 0 if no rounding to be added, 1 if rounding to be done 276 ;// $rndVal Assembler Variable. 0 for rounding, 1 for no rounding 279 ;// $sum0 (a + b + c + d + 1) / 4 : If no rounding 280 ;// (a + b + c + d + 2) / 4 : If rounding 286 IF $rndVal = 0 ;// rounding case 289 ELSE ;// Not rounding case 316 ;// alignment offsets and 2 types of rounding fla [all...] |
/bionic/libm/include/mips/ |
fenv.h | 61 * 1-0 -> rounding control 64 * Rounding Control: 65 * 00 - rounding to nearest (RN) 66 * 01 - rounding toward zero (RZ) 67 * 10 - rounding (up) toward plus infinity (RP) 68 * 11 - rounding (down)toward minus infinity (RM) 93 /* Rounding modes */
|
/development/ndk/platforms/android-9/arch-mips/include/ |
fenv.h | 61 * 1-0 -> rounding control 64 * Rounding Control: 65 * 00 - rounding to nearest (RN) 66 * 01 - rounding toward zero (RZ) 67 * 10 - rounding (up) toward plus infinity (RP) 68 * 11 - rounding (down)toward minus infinity (RM) 93 /* Rounding modes */
|
/prebuilts/ndk/9/platforms/android-14/arch-mips/usr/include/ |
fenv.h | 61 * 1-0 -> rounding control 64 * Rounding Control: 65 * 00 - rounding to nearest (RN) 66 * 01 - rounding toward zero (RZ) 67 * 10 - rounding (up) toward plus infinity (RP) 68 * 11 - rounding (down)toward minus infinity (RM) 93 /* Rounding modes */
|
/prebuilts/ndk/9/platforms/android-18/arch-mips/usr/include/ |
fenv.h | 61 * 1-0 -> rounding control 64 * Rounding Control: 65 * 00 - rounding to nearest (RN) 66 * 01 - rounding toward zero (RZ) 67 * 10 - rounding (up) toward plus infinity (RP) 68 * 11 - rounding (down)toward minus infinity (RM) 93 /* Rounding modes */
|