summaryrefslogtreecommitdiff
path: root/mpfr.h
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2009-02-26 21:28:42 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2009-02-26 21:28:42 +0000
commit9ed87ff1dcc8e2afe04cdfbe981bba459740794b (patch)
tree316ac4399a49205baf65c5f3063d208b4b2bd83e /mpfr.h
parentaeef493ea312de44629ce5ee5be5a1f36b457e7c (diff)
downloadmpfr-9ed87ff1dcc8e2afe04cdfbe981bba459740794b.tar.gz
[mpfr.h] added comment about order of rounding modes
[texceptions.c] added comments, fixed typo [tsub.c] added test, fixed typo git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6033 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'mpfr.h')
-rw-r--r--mpfr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mpfr.h b/mpfr.h
index e8f8be1d3..ca832cfa4 100644
--- a/mpfr.h
+++ b/mpfr.h
@@ -61,6 +61,9 @@ MPFR_VERSION_NUM(MPFR_VERSION_MAJOR,MPFR_VERSION_MINOR,MPFR_VERSION_PATCHLEVEL)
GMP_RNDU must appear just before GMP_RNDD (see
MPFR_IS_RNDUTEST_OR_RNDDNOTTEST in mpfr-impl.h).
+
+ 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.
*/
typedef enum {
GMP_RNDN=0, /* round to nearest, with ties to even */