diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2017-02-08 11:51:37 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2017-02-08 11:51:37 +0000 |
commit | bafb964d06bc2fe43056267e73ca2fcb934a32aa (patch) | |
tree | da8f59ab52bdd7f406940a7f92b570d86270fbd3 /src/exp_2.c | |
parent | 67b216a3a3581591c49f8b5c5d2380dcd82df847 (diff) | |
download | mpfr-bafb964d06bc2fe43056267e73ca2fcb934a32aa.tar.gz |
Made some assertions a bit more readable.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11276 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/exp_2.c')
-rw-r--r-- | src/exp_2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exp_2.c b/src/exp_2.c index 028833836..ea6350be9 100644 --- a/src/exp_2.c +++ b/src/exp_2.c @@ -117,7 +117,7 @@ mpfr_exp_2 (mpfr_ptr y, mpfr_srcptr x, mpfr_rnd_t rnd_mode) { mp_limb_t a; mpfr_exp_t exp; - MPFR_STAT_STATIC_ASSERT ((mp_limb_t) -1 >= (unsigned long) -1); + MPFR_STAT_STATIC_ASSERT (MPFR_LIMB_MAX >= ULONG_MAX); /* Read the long directly (faster than using mpfr_get_si since it fits, it is not singular, it can't be zero and there is no conversion to do) */ |