diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2016-05-28 04:59:39 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2016-05-28 04:59:39 +0000 |
commit | cf11a3eb08d62789a6fdc3347da236c3c389743f (patch) | |
tree | bee39cc3ec584c505e659c2b6a6fc2af81d16ec9 /src/mpfr.h | |
parent | ed11b5b94687c1a0cefe59f2e899c6e6f08ff589 (diff) | |
download | mpfr-cf11a3eb08d62789a6fdc3347da236c3c389743f.tar.gz |
start implementing RNDF (work in progress)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/faithful@10380 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/mpfr.h')
-rw-r--r-- | src/mpfr.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mpfr.h b/src/mpfr.h index 0fa453901..ca7ebbf8d 100644 --- a/src/mpfr.h +++ b/src/mpfr.h @@ -92,9 +92,6 @@ typedef unsigned int mpfr_flags_t; MPFR_RNDU must appear just before MPFR_RNDD (see MPFR_IS_RNDUTEST_OR_RNDDNOTTEST in mpfr-impl.h). - MPFR_RNDF has been added, though not implemented yet, in order to avoid - to break the ABI once faithful rounding gets implemented. - If you change the order of the rounding modes, please update the routines in texceptions.c which assume 0=RNDN, 1=RNDZ, 2=RNDU, 3=RNDD, 4=RNDA. */ @@ -104,7 +101,7 @@ typedef enum { MPFR_RNDU, /* round toward +Inf */ MPFR_RNDD, /* round toward -Inf */ MPFR_RNDA, /* round away from zero */ - MPFR_RNDF, /* faithful rounding (not implemented yet) */ + MPFR_RNDF, /* faithful rounding */ MPFR_RNDNA=-1 /* round to nearest, with ties away from zero (mpfr_round) */ } mpfr_rnd_t; |