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

1234567891011>>

/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-2451.js31 assertEquals(-1.0, Math.round(-1.5));
32 assertEquals(-2.0, Math.round(-2.5));
33 assertEquals(-1.0, Math.round(-0.5000000000000001));
H A Dregress-3218530.js36 assertDoesNotThrow(assertEquals(m[p](Math.round(bignumber/864E5)/7)+1, 52));
H A Dregress-351624.js13 var rounded = Math.round(prod);
H A Dregress-smi-math-floor-round.js52 return Math.round(o.x_smi) + 1;
61 return Math.round(o.x_tagged) + 1;
/external/valgrind/main/none/tests/s390x/
H A Dfpext.c6 #define L2F(insn, initial, target,round) \
10 asm volatile(insn(round,0,0,2) :"=f" (_t):"d"(source)); \
14 #define F2L(insn, initial, type, round, cc) \
18 asm volatile(insn(round,0,2,0) \
26 #define DO_INSN_L2F32(insn, round) \
29 printf(#insn " %f\n", L2F(insn, 0, f32, round)); \
30 printf(#insn " %f\n", L2F(insn, 1, f32, round)); \
31 printf(#insn " %f\n", L2F(insn, 0xffffffffUL, f32, round)); \
32 printf(#insn " %f\n", L2F(insn, 0x80000000UL, f32, round)); \
33 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 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)); \
48 #define cfebr(value, round) \
49 convert_to_int("cfebr",float,int32_t,PRId32,round,value)
50 #define cfdbr(value, round) \
51 convert_to_int("cfdbr",double,int32_t,PRId32,round,value)
52 #define cgebr(value, round) \
53 convert_to_int("cgebr",float,int64_t,PRId64,round,valu
[all...]
H A Dsrnmb.stderr.exp4 Continuing using 'round to nearest'. Results may differ!
/external/chromium-trace/trace-viewer/src/tracing/analysis/
H A Dutil.js14 return Math.round(ts * 1000.0) / 1000.0;
/external/chromium_org/v8/test/mjsunit/compiler/
H A Dregress-106351.js30 // Test Math.round with the input reused in the same expression.
32 var v = Math.round(x) - x;
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/catblock/
H A Dbackground.js12 var i = Math.round(Math.random() * loldogs.length);
/external/libcxx/test/language.support/support.limits/limits/round.style/
H A DAndroid.mk17 test_makefile := external/libcxx/test/language.support/support.limits/limits/round.style/Android.mk
19 test_name := language.support/support.limits/limits/round.style/check_values
/external/chromium_org/third_party/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/skia/src/core/
H A DSkTDynamicHash.h65 for (int round = 0; round < fCapacity; round++) {
73 index = this->nextIndex(index, round);
102 for (int round = 0; round < fCapacity; round++) {
105 return round;
107 index = this->nextIndex(index, round);
165 for (int round
[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/chromium_org/third_party/libsrtp/srtp/crypto/include/
H A Daes.h58 v128_t round[15]; member in struct:__anon12806
/external/valgrind/main/none/tests/mips64/
H A Dfpu_arithmetic.c44 flt_art_op_names[op], round(fd_d), fs_d[i], ft_d[i]);
54 flt_art_op_names[op], round(fd_d), fs_d[i], ft_d[i]);
72 flt_art_op_names[op], round(fd_d), fs_d[i]);
92 flt_art_op_names[op], round(fd_d), fs_d[i]);
105 flt_art_op_names[op], round(fd_d), fs_d[i]);
115 printf("%s %lf %lf %lf %lf\n", flt_art_op_names[op], round(fd_d),
125 printf("%s %lf %lf %lf %lf\n", flt_art_op_names[op], round(fd_d),
135 printf("%s %lf %lf %lf %lf\n", flt_art_op_names[op], round(fd_d),
146 round(fd_d), fr_d[i], fs_d[i],
/external/chromium_org/third_party/WebKit/Source/platform/
H A DLayoutUnitTest.cpp84 ASSERT_EQ(LayoutUnit(-1.9f).round(), -2);
85 ASSERT_EQ(LayoutUnit(-1.6f).round(), -2);
86 ASSERT_EQ(LayoutUnit::fromFloatRound(-1.51f).round(), -2);
87 ASSERT_EQ(LayoutUnit::fromFloatRound(-1.5f).round(), -1);
88 ASSERT_EQ(LayoutUnit::fromFloatRound(-1.49f).round(), -1);
89 ASSERT_EQ(LayoutUnit(-1.0f).round(), -1);
90 ASSERT_EQ(LayoutUnit::fromFloatRound(-0.99f).round(), -1);
91 ASSERT_EQ(LayoutUnit::fromFloatRound(-0.51f).round(), -1);
92 ASSERT_EQ(LayoutUnit::fromFloatRound(-0.50f).round(), 0);
93 ASSERT_EQ(LayoutUnit::fromFloatRound(-0.49f).round(),
[all...]
/external/chromium_org/chrome/browser/resources/chromeos/first_run/app/
H A Dmain.js14 bounds.left = Math.round(0.5 * (window.screen.availWidth - bounds.width));
15 bounds.top = Math.round(0.5 * (window.screen.availHeight - bounds.height));
/external/chromium_org/third_party/WebKit/Source/platform/audio/
H A DAudioUtilities.cpp61 return static_cast<size_t>(round(time * sampleRate));
/external/chromium_org/chrome/browser/resources/print_preview/data/ticket_items/
H A Dcustom_margins.js104 Math.round(margins.get(CustomMargins.Orientation.TOP)),
105 Math.round(margins.get(CustomMargins.Orientation.RIGHT)),
106 Math.round(margins.get(CustomMargins.Orientation.BOTTOM)),
107 Math.round(margins.get(CustomMargins.Orientation.LEFT)));
159 return Math.round(max);
/external/chromium_org/android_webview/browser/
H A Dglobal_tile_manager_unittest.cc122 for (int round = 0; round < 5; round++) {
148 for (int round = 0; round < 5; round++) {

Completed in 711 milliseconds

1234567891011>>