/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...] |
BigDecimal.java | 44 * Rounding mode where positive values are rounded towards positive infinity 52 * Rounding mode where the values are rounded towards zero. 59 * Rounding mode to round towards positive infinity. For positive values 60 * this rounding mode behaves as {@link #ROUND_UP}, for negative values as 68 * Rounding mode to round towards negative infinity. For positive values 69 * this rounding mode behaves as {@link #ROUND_DOWN}, for negative values as 77 * Rounding mode where values are rounded towards the nearest neighbor. 78 * Ties are broken by rounding up. 85 * Rounding mode where values are rounded towards the nearest neighbor. 86 * Ties are broken by rounding down [all...] |
/frameworks/compile/libbcc/runtime/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)
|
floatundidf.S | 38 orpd REL_ADDR(twop84), %xmm1 // 0x1p84 + a_hi (no rounding occurs) 39 subsd REL_ADDR(twop84_plus_twop52), %xmm1 // a_hi - 0x1p52 (no rounding occurs) 40 orpd REL_ADDR(twop52), %xmm0 // 0x1p52 + a_lo (no rounding occurs)
|
/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/webkit/LayoutTests/fast/dom/Geolocation/script-tests/ |
timestamp.js | 23 shouldBeTrue('now - 1 <= t'); // Avoid rounding errors 28 shouldBeTrue('t <= then + 1'); // Avoid rounding errors
|
/external/valgrind/main/auxprogs/ |
primes.c | 9 for (m = 2; m <= sqrt_n+1; m++) // +1 in case of obscure rounding error
|
/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. */
|
/frameworks/base/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...] |
/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/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/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/icu4c/test/cintltst/ |
cnmdptst.h | 38 /* Test proper rounding by the format method.*/ 41 /* Test proper handling of rounding modes. */
|
/frameworks/base/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...] |
/frameworks/compile/libbcc/runtime/lib/x86_64/ |
floatundidf.S | 36 orq REL_ADDR(twop84), %rdi // 0x1p84 + a_hi (no rounding occurs) 37 orpd REL_ADDR(twop52), %xmm0 // 0x1p52 + a_lo (no rounding occurs) 39 subsd REL_ADDR(twop84_plus_twop52), %xmm1 // a_hi - 0x1p52 (no rounding occurs)
|
/external/valgrind/main/none/tests/ppc32/ |
xlc_dbl_u32.c | 4 fadd with a non-standard rounding mode and so checks that V handles 5 the rounding mode correctly. r will be 1 if that is not so. */
|
/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...] |
/external/apache-harmony/math/src/test/java/org/apache/harmony/tests/java/math/ |
BigIntegerConvertTest.java | 88 * Rounding is needed. 89 * The rounding bit is 1 and the next bit to the left is 1. 101 * Rounding is needed. 102 * The rounding bit is 1 and the next bit to the left is 0 114 * Rounding is NOT needed. 126 * Rounding is needed. 138 * Rounding is needed. 139 * The rounding bit is 1 and the next bit to the left is 0 152 * Rounding is NOT needed. 165 * The rounding bit is 0 [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
|
/prebuilt/darwin-x86/toolchain/i686-android-linux-4.4.3/lib/gcc/i686-android-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. */
|