diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2018-03-05 10:05:37 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2018-03-05 10:05:37 +0000 |
commit | bcfde2c807bbd467b855937e731fffacb61a507a (patch) | |
tree | 8d4f4d85ed5b9cca202f9c54e0317fbe9abe6920 /src/mpfr.h | |
parent | d356d3487d17ef01e70fb7ee6ca7d92a2293b178 (diff) | |
download | mpfr-bcfde2c807bbd467b855937e731fffacb61a507a.tar.gz |
[src/mpfr.h] Added a note about a mpfr_prec_t limitation.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12459 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/mpfr.h')
-rw-r--r-- | src/mpfr.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mpfr.h b/src/mpfr.h index 652eafd88..ee907d1e4 100644 --- a/src/mpfr.h +++ b/src/mpfr.h @@ -136,7 +136,11 @@ typedef enum { /* Let's make mpfr_prec_t signed in order to avoid problems due to the usual arithmetic conversions when mixing mpfr_prec_t and mpfr_exp_t - in an expression (for error analysis) if casts are forgotten. */ + in an expression (for error analysis) if casts are forgotten. + Note: mpfr_prec_t is currently limited to "long". This means that + under MS Windows, the precisions are limited to about 2^31; however, + these are already huge precisions, probably sufficient in practice + on this platform. */ #if _MPFR_PREC_FORMAT == 1 typedef short mpfr_prec_t; typedef unsigned short mpfr_uprec_t; |