/external/guava/guava/src/com/google/common/math/ |
DoubleMath.java | 53 * This method returns a value y such that rounding y DOWN (towards zero) gives the same result 54 * as rounding x according to the specified mode. 117 * Returns the {@code int} value that is equal to {@code x} rounded with the specified rounding 124 * rounding mode, is either less than {@code Integer.MIN_VALUE} or greater than {@code 141 * Returns the {@code long} value that is equal to {@code x} rounded with the specified rounding 148 * rounding mode, is either less than {@code Long.MIN_VALUE} or greater than {@code 170 * rounding mode, if possible. 223 * Returns the base 2 logarithm of a double value, rounded with the specified rounding mode to an 226 * <p>Regardless of the rounding mode, this is faster than {@code (int) log2(x)}.
|
/external/icu/icu4c/source/i18n/unicode/ |
ucurr.h | 27 * and rounding for standard usage, for example: "50.00 NT$" 34 * and rounding for cash usage, for example: "50 NT$" 54 * <li>A rounding increment 221 * Returns the rounding increment for the given currency, or 0.0 if no 222 * rounding is done by the currency. 226 * @return the non-negative rounding increment, or 0.0 if none, 235 * Returns the rounding increment for the given currency, or 0.0 if no 236 * rounding is done by the currency given usage. 240 * @return the non-negative rounding increment, or 0.0 if none,
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
DecimalFormat.java | 151 * <td>'1' through '9' indicate rounding. 309 * <li>In place of '0', the digits '1' through '9' may be used to indicate a rounding 350 * digits</em>, then half-even rounding it performed to the maximum fraction digits. For 352 * behavior can be changed by specifying a rounding increment and a rounding mode. 552 * <strong>Rounding</strong> 554 * <p><code>DecimalFormat</code> supports rounding to a specific increment. For example, 556 * rounding increment may be specified through the API or in a pattern. To specify a 557 * rounding increment in a pattern, include the increment in the pattern itself. "#,#50" 558 * specifies a rounding increment of 50. "#,##0.05" specifies a rounding increment o [all...] |
/external/libavc/encoder/arm/ |
ih264e_half_pel.s | 355 vshrn.s32 d21, q10, #8 @// shift by 8 and later we will shift by 2 more with rounding (set2) 357 vshrn.s32 d20, q13, #8 @// shift by 8 and later we will shift by 2 more with rounding (set1) 373 vshrn.s32 d28, q1, #8 @// shift by 8 and later we will shift by 2 more with rounding (set3) 380 vshrn.s32 d29, q13, #8 @// shift by 8 and later we will shift by 2 more with rounding (set4) 385 @//VSHRN.s32 D28,Q11,#8 ;// shift by 8 and later we will shift by 2 more with rounding (set5) 402 vshrn.s32 d28, q11, #8 @// shift by 8 and later we will shift by 2 more with rounding (set5) 460 vshrn.s32 d21, q10, #8 @// shift by 8 and later we will shift by 2 more with rounding (set2) 462 vshrn.s32 d20, q13, #8 @// shift by 8 and later we will shift by 2 more with rounding (set1) 478 vshrn.s32 d28, q3, #8 @// shift by 8 and later we will shift by 2 more with rounding (set3) 485 vshrn.s32 d29, q13, #8 @// shift by 8 and later we will shift by 2 more with rounding (set4 [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/src/ |
armCOMM.c | 40 * Converts a double precision value into a short int after rounding 66 * Converts a double precision value into a int after rounding 91 * Converts a double precision value into a short int after rounding and saturation 135 * Converts a double precision value into a int after rounding and saturation 179 * Converts a double precision value into a unsigned short int after rounding and saturation 207 * Converts a double precision value into a unsigned int after rounding and saturation 235 * Converts a double precision value into a 64 bit int after rounding 378 * integer value. Takes care of rounding while clipping the final 917 * Description : Integer division with rounding to the nearest integer.
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/src/ |
armCOMM.c | 40 * Converts a double precision value into a short int after rounding 66 * Converts a double precision value into a int after rounding 91 * Converts a double precision value into a short int after rounding and saturation 135 * Converts a double precision value into a int after rounding and saturation 179 * Converts a double precision value into a unsigned short int after rounding and saturation 207 * Converts a double precision value into a unsigned int after rounding and saturation 235 * Converts a double precision value into a 64 bit int after rounding 378 * integer value. Takes care of rounding while clipping the final 917 * Description : Integer division with rounding to the nearest integer.
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/src/ |
armCOMM.c | 40 * Converts a double precision value into a short int after rounding 66 * Converts a double precision value into a int after rounding 91 * Converts a double precision value into a short int after rounding and saturation 135 * Converts a double precision value into a int after rounding and saturation 179 * Converts a double precision value into a unsigned short int after rounding and saturation 207 * Converts a double precision value into a unsigned int after rounding and saturation 235 * Converts a double precision value into a 64 bit int after rounding 378 * integer value. Takes care of rounding while clipping the final 917 * Description : Integer division with rounding to the nearest integer.
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/decimaltestdata/ |
add.decTest | 23 rounding: half_up 238 rounding: half_up 260 rounding: half_even 286 rounding: down 310 rounding: half_up 331 rounding: half_down 341 rounding: half_up 394 rounding: half_up 403 rounding: half_down 408 rounding: half_u [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/decimaltestdata/ |
add.decTest | 23 rounding: half_up 238 rounding: half_up 260 rounding: half_even 286 rounding: down 310 rounding: half_up 331 rounding: half_down 341 rounding: half_up 394 rounding: half_up 403 rounding: half_down 408 rounding: half_u [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/decimaltestdata/ |
add.decTest | 23 rounding: half_up 238 rounding: half_up 260 rounding: half_even 286 rounding: down 310 rounding: half_up 331 rounding: half_down 341 rounding: half_up 394 rounding: half_up 403 rounding: half_down 408 rounding: half_u [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/decimaltestdata/ |
add.decTest | 23 rounding: half_up 238 rounding: half_up 260 rounding: half_even 286 rounding: down 310 rounding: half_up 331 rounding: half_down 341 rounding: half_up 394 rounding: half_up 403 rounding: half_down 408 rounding: half_u [all...] |
/external/icu/icu4c/source/i18n/ |
decContext.h | 37 /* round -- must be one of the enumerated rounding modes */ 75 enum rounding { enum 92 enum rounding round; /* rounding mode */ 253 U_INTERNAL enum rounding U_EXPORT2 uprv_decContextGetRounding(decContext *); 257 U_INTERNAL decContext * U_EXPORT2 uprv_decContextSetRounding(decContext *, enum rounding);
|
/toolchain/binutils/binutils-2.25/cpu/ |
or1korfpx.cpu | 20 ; I'm not sure how CGEN handles rounding in FP operations, except for 112 (define-pmacro (get-rounding-mode) 126 (set SF rDSF (float SF (get-rounding-mode) (trunc SI rA))) 134 (set DF rDDF (float DF (get-rounding-mode) rA)) 143 (set WI rD (ext WI (fix SI (get-rounding-mode) rASF))) 152 (set DI rD (fix DI (get-rounding-mode) rADF))
|
/toolchain/binutils/binutils-2.25/opcodes/ |
s390-opc.txt | 345 b299 srnm S_RD "set rounding mode" g5 esa,zarch [all...] |
/external/llvm/include/llvm/ADT/ |
APFloat.h | 53 /// All 5 rounding modes in the IEEE-754R draft are handled correctly for all 56 /// conversion-to-integer and conversion-from-integer. New rounding modes 72 /// At present, underflow tininess is detected after rounding; it should be 73 /// straight forward to add support for the before-rounding case too. 76 /// correctly rounds if necessary according to the specified rounding mode. 81 /// natural precision the output is correctly rounded for the specified rounding 85 /// to the specified rounding mode. 115 /// Optional ability to detect underflow tininess before rounding. 157 /// IEEE-754R 4.3: Rounding-direction attributes. 309 /// \c nmNearestTiesToEven rounding mode and *no* error checking [all...] |
/system/media/audio_utils/include/audio_utils/ |
primitives.h | 124 * at 1.0 and 16.0 is due to rounding on conversion to float. See float_from_q4_27() for details. 138 * No rounding is needed as the representation is exact. 151 * No rounding is needed as the representation is exact. 165 * No rounding is needed as the representation is exact. 178 * The data is truncated without rounding. 315 * The data is clamped, and truncated without rounding. 330 * No rounding is needed as the representation is exact for nominal values. 331 * Rounding for overflow values is to nearest, ties to even. 356 * If rounding is needed on truncation, the fractional lsb is rounded to nearest, 371 * Rounding is done according to float_from_i32() [all...] |
/bionic/libm/include/arm64/machine/ |
fenv.h | 37 * * [23:22] - RMode, Rounding Mode control field: 94 /* Rounding modes. */
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
s_rint.c | 19 * rounding mode. 65 * possibility of errors from double rounding in
|
/development/ndk/platforms/android-21/arch-arm64/include/machine/ |
fenv.h | 37 * * [23:22] - RMode, Rounding Mode control field: 94 /* Rounding modes. */
|
/external/libvpx/libvpx/vpx_dsp/mips/ |
idct8x8_msa.c | 32 /* final rounding (add 2^4, divide by 2^5) and shift */ 92 /* final rounding (add 2^4, divide by 2^5) and shift */
|
/external/llvm/test/MC/AArch64/ |
neon-scalar-saturating-rounding-shift.s | 4 // Scalar Integer Saturating Rounding Shift Lef (Signed) 17 // Scalar Integer Saturating Rounding Shift Lef (Unsigned)
|
/external/valgrind/VEX/pub/ |
libvex_guest_x86.h | 94 FPROUND[1:0] is the FPU's notional rounding mode, encoded as per 96 the Intel encoding. Note carefully, the rounding mode is only 98 rounding, but not for general float-to-float operations, which are 102 loads, everything except the rounding mode is ignored, and on 103 stores, you get a vanilla control world (0x037F) with the rounding 115 SSEROUND[1:0] is the SSE unit's notional rounding mode, encoded as 117 rounding mode is the only part of %MXCSR that Vex observes. On 119 rounding mode patched in. Hence the only values you will get are
|
/external/valgrind/none/tests/ppc32/ |
test_dfp1.c | 404 * floating point rounding mode (bits 62:63 of FPSCR). The second time 405 * through is for setting the decimal floating point rounding mode 407 * returned should include the final binary FP rounding mode, along with 408 * the decimal FP rounding modes. 426 printf("FPSCR %s floating point rounding mode %016llx == %016llx? %s\n", 464 printf("test #%d: dmul with rounding mode %d: %016llx * %016llx => %016llx\n", 469 // opportunities for different rounding modes to yield different results which 481 "Test DFP rounding modes"},
|
/external/webrtc/webrtc/modules/audio_processing/ |
high_pass_filter_impl.cc | 69 // Rounding in Q12, i.e. add 2^11. 77 // Convert back to Q0 and use rounding.
|
/prebuilts/ndk/current/platforms/android-21/arch-arm64/usr/include/machine/ |
fenv.h | 37 * * [23:22] - RMode, Rounding Mode control field: 94 /* Rounding modes. */
|