summaryrefslogtreecommitdiff
path: root/src/mpfr-impl.h
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2011-05-12 14:10:39 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2011-05-12 14:10:39 +0000
commit26b8f0db87dd71b53df07f688734acd41f80eaa4 (patch)
tree9aa7b35e7c93c3cf975ee92ed0924371aebf646f /src/mpfr-impl.h
parent7c5cd9664a75297ac00726a1256fd0d7bb9faf87 (diff)
downloadmpfr-26b8f0db87dd71b53df07f688734acd41f80eaa4.tar.gz
[src/mpfr-impl.h] Exponent properties: corrected comments and removed
obsolete mp_exp_unsigned_t definition (was internal only). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7689 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/mpfr-impl.h')
-rw-r--r--src/mpfr-impl.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/mpfr-impl.h b/src/mpfr-impl.h
index f9e9b5b11..70134bbd6 100644
--- a/src/mpfr-impl.h
+++ b/src/mpfr-impl.h
@@ -647,11 +647,11 @@ union ieee_double_decimal64 { double d; _Decimal64 d64; };
/******************************************************
- ***************** exponent limits ********************
+ **************** exponent properties *****************
******************************************************/
-/* Define limits and unsigned type of exponent.
- These types can be used in preprocessor directives. */
+/* Limits of the mpfr_exp_t type (NOT those of valid exponent values).
+ These macros can be used in preprocessor directives. */
#if _MPFR_EXP_FORMAT == 1
# define MPFR_EXP_MAX (SHRT_MAX)
# define MPFR_EXP_MIN (SHRT_MIN)
@@ -668,10 +668,6 @@ union ieee_double_decimal64 { double d; _Decimal64 d64; };
# error "Invalid MPFR Exp format"
#endif
-#ifndef mp_exp_unsigned_t
-# define mp_exp_unsigned_t mpfr_uexp_t
-#endif
-
/* Before doing a cast to mpfr_uexp_t, make sure that the value is
nonnegative. */
#define MPFR_UEXP(X) (MPFR_ASSERTD ((X) >= 0), (mpfr_uexp_t) (X))