Searched refs:round (Results 1 - 25 of 614) sorted by relevance

1234567891011>>

/external/valgrind/none/tests/s390x/
H A Dfpext.c7 #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 Ddfpext.c7 #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 Drounding-1.c11 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 Ddfpconv.c7 #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 Dfixbr.c11 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 Drounding-6.c11 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 Dsrnmb.stderr.exp4 Continuing using 'round to nearest'. Results may differ!
/external/libcxx/test/std/utilities/time/time.duration/time.duration.cast/
H A Dround.fail.cpp13 // round
17 // round(const duration<Rep, Period>& d);
25 std::chrono::round<int>(std::chrono::milliseconds(3));
H A Dround.pass.cpp13 // 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 Dround.fail.cpp13 // 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 Dcwise_op_gpu_round.cu.cc22 DEFINE_UNARY5(round, Eigen::half, float, double, int32, int64);
H A Dcwise_op_round.cc19 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 Dround.h27 return ::round(x);
29 inline double TfLiteRound(const double x) { return ::round(x); }
33 return std::round(x);
/external/eigen/doc/snippets/
H A DCwise_round.cpp3 cout << round(v) << endl;
/external/libvpx/libvpx/vpx_dsp/
H A Dfwd_txfm.h24 void vpx_fdct32(const tran_high_t *input, tran_high_t *output, int round);
/external/libvpx/libvpx/vpx_ports/
H A Dmsvc.h21 #if _MSC_VER < 1800 // VS2013 provides round
23 static INLINE double round(double x) { function
/external/skia/src/core/
H A DSkTDynamicHash.h92 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 DSkTDynamicHash.h92 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 Dgcs_smoke.py58 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 Dfloatsisf.c11 // 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 Dfloatunsisf.c11 // 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 Dstateless_random_ops.cc73 // 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 Dperf_stat_lib.py25 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 Dquantize_avx.c33 __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 Dpytime.h31 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);

Completed in 1341 milliseconds

1234567891011>>