/external/valgrind/none/tests/s390x/ |
H A D | 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...] |
H A D | 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 [all...] |
H A D | rounding-1.c | 11 rtext(unsigned round) argument 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 t [all...] |
H A D | 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...] |
H A D | 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 */
|
H A D | 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...] |
H A D | srnmb.stderr.exp | 4 Continuing using 'round to nearest'. Results may differ!
|
/external/libcxx/test/std/utilities/time/time.duration/time.duration.cast/ |
H A D | round.fail.cpp | 13 // round 17 // round(const duration<Rep, Period>& d); 25 std::chrono::round<int>(std::chrono::milliseconds(3));
|
H A D | round.pass.cpp | 13 // round 29 typedef decltype(std::chrono::round<ToDuration>(f)) R; 31 assert(std::chrono::round<ToDuration>(f) == d); 45 constexpr std::chrono::hours h1 = std::chrono::round<std::chrono::hours>(std::chrono::milliseconds(9000000)); 47 constexpr std::chrono::hours h2 = std::chrono::round<std::chrono::hours>(std::chrono::milliseconds(-9000000));
|
/external/libcxx/test/std/utilities/time/time.point/time.point.cast/ |
H A D | round.fail.cpp | 13 // round 17 // round(const time_point<Clock, Duration>& t); 25 std::chrono::round<int>(std::chrono::system_clock::now());
|
/external/tensorflow/tensorflow/core/kernels/ |
H A D | cwise_op_gpu_round.cu.cc | 22 DEFINE_UNARY5(round, Eigen::half, float, double, int32, int64);
|
H A D | cwise_op_round.cc | 19 REGISTER5(UnaryOp, CPU, "Round", functor::round, Eigen::half, float, double, 23 REGISTER2(UnaryOp, SYCL, "Round", functor::round, float, double); 27 REGISTER5(UnaryOp, GPU, "Round", functor::round, Eigen::half, float, double,
|
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/ |
H A D | round.h | 27 return ::round(x); 29 inline double TfLiteRound(const double x) { return ::round(x); } 33 return std::round(x);
|
/external/eigen/doc/snippets/ |
H A D | Cwise_round.cpp | 3 cout << round(v) << endl;
|
/external/libvpx/libvpx/vpx_dsp/ |
H A D | fwd_txfm.h | 24 void vpx_fdct32(const tran_high_t *input, tran_high_t *output, int round);
|
/external/libvpx/libvpx/vpx_ports/ |
H A D | msvc.h | 21 #if _MSC_VER < 1800 // VS2013 provides round 23 static INLINE double round(double x) { function
|
/external/skia/src/core/ |
H A D | 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 [all...] |
/external/skqp/src/core/ |
H A D | 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 [all...] |
/external/tensorflow/tensorflow/tools/gcs_test/python/ |
H A D | gcs_smoke.py | 58 starttime_ms = int(round(time.time() * 1000)) 62 elapsed_ms = int(round(time.time() * 1000)) - starttime_ms 71 starttime_ms = int(round(time.time() * 1000)) 77 elapsed_ms = int(round(time.time() * 1000)) - starttime_ms 94 starttime_ms = int(round(time.time() * 1000)) 97 elapsed_ms = int(round(time.time() * 1000)) - starttime_ms 108 starttime_ms = int(round(time.time() * 1000)) 111 elapsed_ms = int(round(time.time() * 1000)) - starttime_ms 119 starttime_ms = int(round(time.time() * 1000)) 121 elapsed_ms = int(round(tim [all...] |
/external/compiler-rt/lib/builtins/ |
H A D | 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;
|
H A D | 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;
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
H A D | stateless_random_ops.cc | 73 // Performs a single round of the Threefry2x32 algorithm, with a rotation 75 auto round = [builder](ThreeFry2x32State v, int rotation) { local 84 x = round(x, rotations[0]); 85 x = round(x, rotations[1]); 86 x = round(x, rotations[2]); 87 x = round(x, rotations[3]); 91 x = round(x, rotations[4]); 92 x = round(x, rotations[5]); 93 x = round(x, rotations[6]); 94 x = round( [all...] |
/external/autotest/client/common_lib/cros/ |
H A D | perf_stat_lib.py | 25 return round((i - f) * num_list[c] + (c - i) * num_list[f], 2) 43 return round((num_list[size / 2] + num_list[size / 2 - 1]) / 2.0, 2) 57 return round(float(sum(num_list)) / len(num_list) , 2) 74 return round(sqrt(variance), 2
|
/external/libvpx/libvpx/vpx_dsp/x86/ |
H A D | quantize_avx.c | 33 __m128i zbin, round, quant, dequant, shift; local 46 load_b_values(zbin_ptr, &zbin, round_ptr, &round, quant_ptr, &quant, 71 round = _mm_unpackhi_epi64(round, round); 76 calculate_qcoeff(&qcoeff0, round, quant, shift); 77 round = _mm_unpackhi_epi64(round, round); 80 calculate_qcoeff(&qcoeff1, round, quan 163 __m128i zbin, round, quant, dequant, shift; local [all...] |
/external/python/cpython3/Include/ |
H A D | pytime.h | 31 For example, used to round from a Python float. */ 83 _PyTime_round_t round); 89 _PyTime_round_t round); 96 _PyTime_round_t round); 100 _PyTime_round_t round); 112 _PyTime_round_t round); 117 _PyTime_round_t round); 129 _PyTime_round_t round);
|