/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 34 * {@link RoundingMode#HALF_EVEN} rounding. 42 * rounding. 50 * rounding. 57 * {@link RoundingMode#HALF_UP} rounding. 73 * for rounding. 101 * with the rounding mode {@link RoundingMode#HALF_UP HALF_UP}. If the 103 * be performed exact, the rounding mode in this case is irrelevant. 116 * with the specified rounding mode. If the precision passed is zero, then 118 * rounding mode in this case is irrelevant [all...] |
BigDecimal.java | 59 * Rounding mode where positive values are rounded towards positive infinity 67 * Rounding mode where the values are rounded towards zero. 74 * Rounding mode to round towards positive infinity. For positive values 75 * this rounding mode behaves as {@link #ROUND_UP}, for negative values as 83 * Rounding mode to round towards negative infinity. For positive values 84 * this rounding mode behaves as {@link #ROUND_DOWN}, for negative values as 92 * Rounding mode where values are rounded towards the nearest neighbor. 93 * Ties are broken by rounding up. 100 * Rounding mode where values are rounded towards the nearest neighbor. 101 * Ties are broken by rounding down [all...] |
/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
|
/bionic/libm/man/ |
fegetround.3 | 33 .Nd floating-point rounding control 46 function determines the current floating-point rounding mode, 49 function sets the current rounding mode to 51 The rounding mode is one of 60 routine returns the current rounding mode.
|
fenv.3 | 83 which includes the exception flags and rounding modes defined in 98 due to rounding. 138 .Ss Rounding Modes 140 specifies four rounding modes. 163 functions query and set the rounding mode. 171 the rounding mode, and possibly other implementation-specific 287 .Fl mieee-with-inexact mfp-rounding-mode=d 289 side-effects and uses the specified rounding modes.
|
/prebuilt/linux-x86/toolchain/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. */
|
/libcore/luni/src/test/java/tests/api/java/util/concurrent/ |
SystemTest.java | 19 * Worst case rounding for millisecs; set for 60 cycle millis clock. 27 * possible rounding). 47 * for 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 30 fldcw LOCAL0_OFFSET(%ebp) # restore previous rounding mode
|
/external/libvpx/vp8/common/ |
idctllm.c | 27 static const int rounding = 0; variable 43 temp1 = (ip[4] * sinpi8sqrt2 + rounding) >> 16; 44 temp2 = ip[12] + ((ip[12] * cospi8sqrt2minus1 + rounding) >> 16); 47 temp1 = ip[4] + ((ip[4] * cospi8sqrt2minus1 + rounding) >> 16); 48 temp2 = (ip[12] * sinpi8sqrt2 + rounding) >> 16; 69 temp1 = (ip[1] * sinpi8sqrt2 + rounding) >> 16; 70 temp2 = ip[3] + ((ip[3] * cospi8sqrt2minus1 + rounding) >> 16); 73 temp1 = ip[1] + ((ip[1] * cospi8sqrt2minus1 + rounding) >> 16); 74 temp2 = (ip[3] * sinpi8sqrt2 + rounding) >> 16;
|
/external/chromium/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. */
|
/libcore/luni/src/test/java/libcore/java/math/ |
OldBigDecimalTest.java | 88 // testing rounding Mode RoundingMode.CEILING 101 // testing rounding Mode RoundingMode.DOWN 113 // testing rounding Mode RoundingMode.FLOOR 124 // testing rounding Mode RoundingMode.HALF_DOWN 141 // testing rounding Mode RoundingMode.HALF_EVEN 163 // testing rounding Mode RoundingMode.HALF_UP 176 // testing rounding Mode RoundingMode.UNNECESSARY 183 // testing rounding Mode RoundingMode.UP 196 // testing invalid rounding modes 199 fail("IllegalArgumentException is not caught for wrong rounding mode") [all...] |
/bionic/libm/arm/ |
fenv.h | 46 /* Rounding modes */ 127 * Apparently, the rounding mode is specified as part of the 128 * instruction format on ARM, so the dynamic rounding mode is
|
/bionic/libm/include/arm/ |
fenv.h | 46 /* Rounding modes */ 127 * Apparently, the rounding mode is specified as part of the 128 * instruction format on ARM, so the dynamic rounding mode is
|
/development/ndk/platforms/android-3/arch-arm/include/ |
fenv.h | 46 /* Rounding modes */ 127 * Apparently, the rounding mode is specified as part of the 128 * instruction format on ARM, so the dynamic rounding mode is
|
/external/v8/src/ |
conversions-inl.h | 45 // rounding towards zero. 49 // double to an integer according to the current rounding direction. 52 // This is incredibly slow on Intel x86. The reason is that rounding
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/lib/gcc/i686-linux/4.4.3/include/ |
mmintrin-common.h | 34 /* Rounding mode macros. */ 90 /* Packed/scalar double precision floating point rounding. */ 115 /* Packed/scalar single precision floating point rounding. */
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/ |
fenv.h | 46 /* Rounding modes */ 127 * Apparently, the rounding mode is specified as part of the 128 * instruction format on ARM, so the dynamic rounding mode is
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/ |
fenv.h | 46 /* Rounding modes */ 127 * Apparently, the rounding mode is specified as part of the 128 * instruction format on ARM, so the dynamic rounding mode is
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/ |
fenv.h | 46 /* Rounding modes */ 127 * Apparently, the rounding mode is specified as part of the 128 * instruction format on ARM, so the dynamic rounding mode is
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/ |
fenv.h | 46 /* Rounding modes */ 127 * Apparently, the rounding mode is specified as part of the 128 * instruction format on ARM, so the dynamic rounding mode is
|
/bionic/libm/src/ |
s_fmaf.c | 31 * Fused multiply-add: Compute x * y + z with a single rounding error. 37 * using the current rounding mode and with the appropriate
|
s_fma.c | 35 * Fused multiply-add: Compute x * y + z with a single rounding error. 43 * This algorithm is sensitive to the rounding precision. FPUs such 80 * will overflow, so we handle these cases specially. Rounding 177 * avoid double rounding.
|
/external/icu4c/test/intltest/ |
dcfmapts.cpp | 39 case 1: name = "Rounding test"; 41 logln((UnicodeString)"DecimalFormat Rounding test---"); 47 logln((UnicodeString)"DecimalFormat Rounding Increment test---"); 483 // get default rounding increment 486 errln((UnicodeString)"ERROR: Rounding increment not zero"); 490 // With rounding now being handled by decNumber, we no longer 491 // set a rounding increment to enable non-default mode rounding, 494 // set rounding mode with zero increment. Rounding [all...] |