summaryrefslogtreecommitdiff
path: root/src/mpfr-impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mpfr-impl.h')
-rw-r--r--src/mpfr-impl.h6
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;