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

12345

/haiku-buildtools/binutils/gas/testsuite/gas/rx/
H A Dround.d9 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 25
[all...]
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/
H A Dfold-convround-1.c5 extern double round(double);
11 return (unsigned long long) round(x);
H A Dpr52592.c13 T (double, round)
H A Dbuiltins-67.c19 double round (double);
64 int iround (double a) { return (int) round (a); }
/haiku-buildtools/gcc/mpfr/src/
H A Dfactorial.c38 int round, inexact; local
70 round = mpfr_mul_ui (t, t, i, rnd);
74 inexact = round;
79 round = !inexact || mpfr_can_round (t, err, rnd, MPFR_RNDZ,
82 if (MPFR_LIKELY (round))
84 /* If inexact = 0, then t is exactly x!, so round is the
87 round = mpfr_set (y, t, rnd_mode);
90 inexact = round;
93 else if ((inexact < 0 && round <= 0)
94 || (inexact > 0 && round >
[all...]
/haiku-buildtools/gcc/gcc/testsuite/gfortran.dg/
H A Dround_4.f9037 character(len=20) :: str, round variable in program:main
42 read (str, *, round='up') r4p, r8p, r10p, r16p
43 read (str, *, round='down') r4m, r8m, r10m, r16m
75 round = 'up'
82 round = 'down'
89 round = 'zero'
96 round = 'nearest'
105 round = 'compatible'
113 ! print *, round
115 read (str, *,round
[all...]
H A Dpr66725.f9016 open(unit=1,round = 999) ! { dg-error "ROUND requires" }
25 write (unit=1, round=257) ! { dg-error "ROUND requires" }
/haiku-buildtools/binutils/gas/testsuite/gas/tic54x/
H A Dmath.s25 .float $round(4.5)
26 .float $round(-4.5)
/haiku-buildtools/legacy/binutils/gas/testsuite/gas/tic54x/
H A Dmath.s25 .float $round(4.5)
26 .float $round(-4.5)
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/torture/
H A Dbuiltin-rounding-1.c23 TEST(round, 0, 0);
34 TEST(round, 6, 6);
45 TEST(round, -8, -8);
56 TEST(round, 3.2, 3);
67 TEST(round, -2.8, -3);
78 TEST(round, 0.01, 0);
89 TEST(round, -0.7, -1);
100 TEST(round, 2.5, 3);
111 TEST(round, -1.5, -2);
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/i386/
H A Davx-round-sfix-2-vec.c18 extern double round (double);
56 r[i] = (int) round (a[i]);
60 if (r[i] != (int) round (a[i]))
H A Dsse4_1-round-sfix-vec.c18 extern double round (double);
56 r[i] = (int) round (a[i]);
60 if (r[i] != (int) round (a[i]))
H A Dsse4_1-round-vec.c18 extern double round (double);
56 r[i] = round (a[i]);
60 if (r[i] != round (a[i]))
/haiku-buildtools/gcc/gmp/mpz/
H A Dcfdiv_q_2exp.c36 mp_limb_t round, rmask; local
54 Set round if we're skipping non-zero limbs. */
56 round = 0;
59 for (i = 0; i < limb_cnt && round == 0; i++)
60 round = up[i];
66 round |= rmask & mpn_rshift (wp, up + limb_cnt, wsize, cnt);
72 if (round != 0)
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/aarch64/
H A Dfcvt.x4 extern GPF SUFFIX(round) (GPF);
52 return SUFFIX(round)(x);
H A Dfrint.x6 extern GPF SUFFIX(round) (GPF);
65 return SUFFIX(round)(x);
H A Dvect-vrnd.c11 extern double round (double);
77 BUILD_VARIANTS (a, round)
109 BUILD_VARIANTS (a, round)
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/nios2/
H A Dcustom-fp-conversion.c29 #pragma GCC target ("custom-round=110")
43 int round; member in struct:data
59 out->round = lroundf (f);
72 /* { dg-final { scan-assembler "custom\\t110, .* # round .*" } } */
/haiku-buildtools/gcc/libdecnumber/
H A DdecContext.c47 /* round-for-reround digits */
90 context->round=DEC_ROUND_HALF_UP; /* 0.5 rises */
105 context->round=DEC_ROUND_HALF_EVEN; /* 0.5 to nearest even */
116 context->round=DEC_ROUND_HALF_EVEN; /* 0.5 to nearest even */
127 context->round=DEC_ROUND_HALF_EVEN; /* 0.5 to nearest even */
151 return context->round;
210 context->round=newround;
/haiku-buildtools/gcc/libgcc/
H A Ddfp-bit.c72 DFP_INIT_ROUNDMODE (context.round);
112 DFP_INIT_ROUNDMODE (context.round);
155 DFP_INIT_ROUNDMODE (context.round);
417 DFP_INIT_ROUNDMODE (context.round);
437 DFP_INIT_ROUNDMODE (context.round);
457 DFP_INIT_ROUNDMODE (context.round);
477 context.round = DEC_ROUND_DOWN;
479 i = DEC_FLOAT_TO_INT (&u.f, &context, context.round);
497 context.round = DEC_ROUND_DOWN;
500 i = DEC_FLOAT_TO_INT (&f64, &context, context.round);
[all...]
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/avr/torture/
H A Dbuiltins-4-roundfx.c43 return round##FX (x, rp); \
65 if (round##FX (FX##bits (VAL), RP) != FX##bits (ROUND)) \
67 fx_##FX##_t (*f)(fx_##FX##_t,int) = round##FX; \
/haiku-buildtools/binutils/gas/testsuite/gas/mmix/
H A Dgreg6.d4 # equivalent for GREGs; like greg5 but the other way round.
H A Dgreg8.d4 # equivalent for GREGs; like greg7 but the other way round.
/haiku-buildtools/legacy/binutils/gas/testsuite/gas/mmix/
H A Dgreg6.d4 # equivalent for GREGs; like greg5 but the other way round.
H A Dgreg8.d4 # equivalent for GREGs; like greg7 but the other way round.

Completed in 310 milliseconds

12345