/external/valgrind/none/tests/s390x/ |
fpext.c | 7 #define L2F(insn, initial, target,round) \ 11 asm volatile(insn(round,0,0,2) :"=f" (_t):"d"(source)); \ 15 #define F2L(insn, initial, type, round, cc) \ 19 asm volatile(insn(round,0,2,0) \ 27 #define DO_INSN_L2F32(insn, round) \ 30 printf(#insn " %f\n", L2F(insn, 0, f32, round)); \ 31 printf(#insn " %f\n", L2F(insn, 1, f32, round)); \ 32 printf(#insn " %f\n", L2F(insn, 0xffffffffUL, f32, round)); \ 33 printf(#insn " %f\n", L2F(insn, 0x80000000UL, f32, round)); \ 34 printf(#insn " %f\n", L2F(insn, 0x7fffffffUL, f32, round)); \ [all...] |
dfpext.c | 7 #define L2D(insn, initial, target,round) \ 11 asm volatile(insn(round,0,0,2) :"=f" (_t):"d"(source)); \ 15 #define I2D(insn, initial, target,round) \ 19 asm volatile(insn(round,0,0,2) :"=f" (_t):"d"(source)); \ 23 #define D2L(insn, initial, type, round, cc) \ 27 asm volatile(insn(round,0,2,0) \ 34 #define D2I(insn, initial, type, round, cc) \ 38 asm volatile(insn(round,0,2,0) \ 46 #define DO_PRINT_L2D(insn, l, d, round) \ 48 printf(#insn " round=%d %lu -> ", 0x##round, l); [all...] |
rounding-1.c | 11 rtext(unsigned round) 13 switch (round) { 26 #define convert_to_int(opcode,src_type,dst_type,dst_fmt,round,value) \ 32 __asm__ volatile (opcode " %[dst]," #round ",%[src]\n\t" \ 40 opcode, rtext(round), src, dst, cc); \ 44 #define cfdbr(round,value) \ 45 convert_to_int("cfdbr",double,int32_t,PRId32,round,value) 55 cfdbr(4, dval); // round to nearest with ties to even 56 cfdbr(5, dval); // round to zero 57 cfdbr(6, dval); // round to +in [all...] |
dfpconv.c | 7 #define I2D(insn, initial, target,round) \ 11 asm volatile(insn(round,0,0,2) :"=f" (_t):"d"(source)); \ 15 #define D2I(insn, initial, type, round, cc) \ 19 asm volatile(insn(round,0,2,0) \ 27 #define DO_PRINT_I2D(insn, l, d, round) \ 29 printf(#insn " round=%d %d -> ", 0x##round, l); \ 30 d = I2D(insn, l, d, round); \ 35 #define DO_INSN_I2D(insn, round, type) \ 38 DO_PRINT_I2D(insn, 0, d, round); \ [all...] |
fixbr.c | 11 IRRoundingMode. As a consequence m3=1 which is "round to nearest with 30 #define round_to_int(value,round) \ 35 __asm__ volatile ("fixbr %[dst]," #round ",%[src]\n\t" \ 40 src, dst, rtext(round)); \ 43 #define fixbr(value,round) round_to_int(value,round) 62 /* f128 -> f128, round to int */
|
rounding-6.c | 11 IRRoundingMode. As a consequence m3=1 which is "round to nearest with 30 #define convert_to_int(opcode,src_type,dst_type,dst_fmt,round,value) \ 36 __asm__ volatile (opcode " %[dst]," #round ",%[src]\n\t" \ 44 opcode, src, dst, cc, rtext(round)); \ 47 #define round_to_int(opcode,type,round,value) \ 52 __asm__ volatile (opcode " %[dst]," #round ",%[src]\n\t" \ 57 opcode, src, dst, rtext(round)); \ 61 #define cfebr(value, round) \ 62 convert_to_int("cfebr",float,int32_t,PRId32,round,value) 63 #define cfdbr(value, round) \ [all...] |
srnmb.stderr.exp | 4 Continuing using 'round to nearest'. Results may differ!
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/rx/ |
round.d | 9 0: fc 9b 00 round r0, r0 10 3: fc 9b 0f round r0, r15 11 6: fc 9b f0 round r15, r0 12 9: fc 9b ff round r15, r15 13 c: fc 98 00 round \[r0\]\.l, r0 14 f: fc 98 0f round \[r0\]\.l, r15 15 12: fc 98 f0 round \[r15\]\.l, r0 16 15: fc 98 ff round \[r15\]\.l, r15 17 18: fc 99 00 3f round 252\[r0\]\.l, r0 18 1c: fc 99 0f 3f round 252\[r0\]\.l, r1 [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
TestRound.rs | 24 return round(inV); 28 return round(inV); 32 return round(inV); 36 return round(inV); 40 return round(inV); 44 return round(inV); 48 return round(inV); 52 return round(inV);
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
s_llround.c | 5 #define roundit round
|
s_round.c | 36 round(double x) function 59 __weak_reference(round, roundl);
|
/frameworks/base/core/java/com/android/internal/util/ |
FastMath.java | 25 * Fast round from float to int. This is faster than Math.round() 29 public static int round(float value) { method in class:FastMath
|
/external/libvpx/libvpx/vpx_dsp/ |
fwd_txfm.h | 24 void vpx_fdct32(const tran_high_t *input, tran_high_t *output, int round);
|
/external/libvpx/libvpx/vpx_ports/ |
msvc.h | 21 #if _MSC_VER < 1800 // VS2013 provides round 23 static INLINE double round(double x) { function
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/tic54x/ |
math.s | 25 .float $round(4.5)
26 .float $round(-4.5)
|
/external/skia/src/core/ |
SkTDynamicHash.h | 92 for (int round = 0; round < fCapacity; round++) { 101 index = this->nextIndex(index, round); 146 for (int round = 0; round < fCapacity; round++) { 150 return round; 152 index = this->nextIndex(index, round); 210 for (int round = 0; round < fCapacity; round++) [all...] |
/external/compiler-rt/lib/builtins/ |
floatsisf.c | 11 // compiler-rt library in the IEEE-754 default round-to-nearest, ties-to-even 50 rep_t round = (rep_t)a << (typeWidth - shift); local 51 if (round > signBit) result++; 52 if (round == signBit) result += result & 1;
|
floatunsisf.c | 11 // compiler-rt library in the IEEE-754 default round-to-nearest, ties-to-even 42 rep_t round = (rep_t)a << (typeWidth - shift); local 43 if (round > signBit) result++; 44 if (round == signBit) result += result & 1;
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
HasCoverage.java | 29 int lhsPct = Math.round(entity.getCoveragePercentage()); 30 int rhsPct = Math.round(otherEntity.getCoveragePercentage());
|
/device/google/contexthub/lib/libm/ |
sf_round.c | 65 double round(double x) function 67 double round(x)
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/java/lang/ |
StrictMath.java | 55 public static int round(float a){ method in class:StrictMath 56 return Math.round(a);
|
/frameworks/base/core/java/com/android/internal/widget/ |
ScrollBarUtils.java | 24 int length = Math.round((float) size * extent / range); 33 int thumbOffset = Math.round((float) (size - thumbLength) * offset / (range - extent));
|
/hardware/bsp/intel/peripheral/libupm/examples/javascript/ |
groverotary.js | 44 console.log("Abs: " + abs + " " + Math.round(parseInt(absdeg)) + " " + absrad.toFixed(3)); 45 console.log("Rel: " + rel + " " + Math.round(parseInt(reldeg)) + " " + relrad.toFixed(3));
|
/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
BitmapUtils.java | 75 final int srcCroppedW = Math.round(dstW * scale); 76 final int srcCroppedH = Math.round(dstH * scale); 77 final int srcCroppedSliceH = Math.round(dstSliceH * scale); 87 centerV = Math.max(minCenterV, Math.min(maxCenterV, Math.round(srcH * vertSliceFrac))); 90 .round(Math.abs(srcH - srcCroppedSliceH) * vertSliceFrac + srcHalfSliceH); 120 final int srcCroppedW = Math.round(dstW * scale); 121 final int srcCroppedH = Math.round(dstH * scale);
|
/external/valgrind/none/tests/mips64/ |
fpu_arithmetic.c | 45 flt_art_op_names[op], round(fd_d), fs_d[i], ft_d[i]); 55 flt_art_op_names[op], round(fd_d), fs_d[i], ft_d[i]); 73 flt_art_op_names[op], round(fd_d), fs_d[i]); 93 flt_art_op_names[op], round(fd_d), fs_d[i]); 106 flt_art_op_names[op], round(fd_d), fs_d[i]); 116 printf("%s %lf %lf %lf %lf\n", flt_art_op_names[op], round(fd_d), 126 printf("%s %lf %lf %lf %lf\n", flt_art_op_names[op], round(fd_d), 136 printf("%s %lf %lf %lf %lf\n", flt_art_op_names[op], round(fd_d), 147 round(fd_d), fr_d[i], fs_d[i],
|