diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2019-01-04 12:11:10 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2019-01-04 12:11:10 +0000 |
commit | 6c22d508c4c7bfe7d54167701212a6ad1fa1548e (patch) | |
tree | 529550c73441fd898d3e25f78f2ff5112c11715c /src | |
parent | 6311053fd6160d731741d6d861558ffbf664f1f2 (diff) | |
download | mpfr-6c22d508c4c7bfe7d54167701212a6ad1fa1548e.tar.gz |
[src/mpfr-impl.h] Added a comment with a warning concerning the meaning
of MPFR_EXP_FSPEC (corresponding to the merge of mpfr-impl.h r13299
from the trunk; the other part of this commit with be merged later).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@13363 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src')
-rw-r--r-- | src/mpfr-impl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mpfr-impl.h b/src/mpfr-impl.h index f596e269e..ed7f29359 100644 --- a/src/mpfr-impl.h +++ b/src/mpfr-impl.h @@ -864,6 +864,12 @@ union ieee_double_decimal64 { double d; _Decimal64 d64; }; nonnegative. */ #define MPFR_UEXP(X) (MPFR_ASSERTD ((X) >= 0), (mpfr_uexp_t) (X)) +/* Define mpfr_eexp_t, mpfr_ueexp_t and MPFR_EXP_FSPEC. + Warning! MPFR_EXP_FSPEC is the length modifier associated with + these types mpfr_eexp_t / mpfr_ueexp_t, not with mpfr_exp_t. + (Should we change that, or is this safer to detect bugs, e.g. + in the context of an expression with computations with long?) +*/ #if _MPFR_EXP_FORMAT <= 3 typedef long mpfr_eexp_t; typedef unsigned long mpfr_ueexp_t; |