Searched refs:mpfr_rint (Results 1 - 10 of 10) sorted by relevance

/haiku-buildtools/gcc/mpfr/tests/
H A Dtrint.c1 /* Test file for mpfr_rint, mpfr_trunc, mpfr_floor, mpfr_ceil, mpfr_round.
41 mpfr_rint (y, x, MPFR_RNDN);
45 mpfr_rint (y, x, MPFR_RNDN);
49 mpfr_rint (y, x, MPFR_RNDN);
53 mpfr_rint (y, x, MPFR_RNDN);
58 mpfr_rint (y, x, MPFR_RNDN);
65 mpfr_rint (y, x, MPFR_RNDN);
74 mpfr_rint (y, x, MPFR_RNDU); /* x rounds to 1.0E1=0.1E2 which overflows */
82 mpfr_rint (y, x, MPFR_RNDN);
88 mpfr_rint (
[all...]
H A Dtaway.c456 test2 (mpfr_rint, "mpfr_rint");
H A Dreuse.c644 test2 (mpfr_rint, "mpfr_rint", p, (mpfr_rnd_t) rnd);
/haiku-buildtools/gcc/mpfr/src/
H A Dget_si.c48 mpfr_rint (x, f, rnd);
H A Dget_ui.c49 mpfr_rint (x, f, rnd);
H A Dget_z.c49 inex = mpfr_rint (r, f, rnd);
H A Dget_sj.c60 mpfr_rint (x, f, rnd);
H A Dget_uj.c56 mpfr_rint (x, f, rnd);
H A Drint.c0 /* mpfr_rint -- Round to an integer.
25 /* Merge the following mpfr_rint code with mpfr_round_raw_generic? */
28 mpfr_rint (mpfr_ptr r, mpfr_srcptr u, mpfr_rnd_t rnd_mode) function
307 return mpfr_rint (r, u, MPFR_RNDNA);
315 return mpfr_rint (r, u, MPFR_RNDZ);
323 return mpfr_rint (r, u, MPFR_RNDU);
331 return mpfr_rint (r, u, MPFR_RNDD);
H A Dmpfr.h565 __MPFR_DECLSPEC int mpfr_rint _MPFR_PROTO((mpfr_ptr,mpfr_srcptr, mpfr_rnd_t));
767 #define mpfr_round(a,b) mpfr_rint((a), (b), MPFR_RNDNA)
768 #define mpfr_trunc(a,b) mpfr_rint((a), (b), MPFR_RNDZ)
769 #define mpfr_ceil(a,b) mpfr_rint((a), (b), MPFR_RNDU)
770 #define mpfr_floor(a,b) mpfr_rint((a), (b), MPFR_RNDD)

Completed in 117 milliseconds