diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2011-05-13 15:19:50 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2011-05-13 15:19:50 +0000 |
commit | a75043b159ddfaf3dfe9b75cf426d33e778c09ef (patch) | |
tree | b072c0fedf2b244a053cf6256a1a540f351c6e00 /src/mpfr.h | |
parent | ab3e0d2f6cd5e08773b8d9947c379abe911f5790 (diff) | |
download | mpfr-a75043b159ddfaf3dfe9b75cf426d33e778c09ef.tar.gz |
Started to support mpfr_exp_t defined as intmax_t (_MPFR_EXP_FORMAT==4).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7694 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/mpfr.h')
-rw-r--r-- | src/mpfr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mpfr.h b/src/mpfr.h index 12efd4fe2..253c70607 100644 --- a/src/mpfr.h +++ b/src/mpfr.h @@ -140,6 +140,9 @@ typedef unsigned int mpfr_uexp_t; typedef long mpfr_exp_t; typedef unsigned long mpfr_uexp_t; #elif _MPFR_EXP_FORMAT == 4 +/* Note: in this case, intmax_t and uintmax_t must be defined before + the inclusion of mpfr.h (we do not include <stdint.h> here because + of some non-ISO C99 implementations that support these types). */ typedef intmax_t mpfr_exp_t; typedef uintmax_t mpfr_uexp_t; #else |