diff options
author | ryde <ryde@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-01-08 23:04:40 +0000 |
---|---|---|
committer | ryde <ryde@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-01-08 23:04:40 +0000 |
commit | 96090abe9e367fd535542425ed869284197bd346 (patch) | |
tree | 8a08a25740c6a6a91a384eb6698831d5af8838f8 /get_str.c | |
parent | 8b67d8ecf071a76591bd7b208a3a19a46a5900e5 (diff) | |
download | mpfr-96090abe9e367fd535542425ed869284197bd346.tar.gz |
(mpn_exp): Don't store -1 in a uint then return it as a long.
Fixes systems such as alpha where sizeof(uint)!=sizeof(long).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2150 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'get_str.c')
-rw-r--r-- | get_str.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -295,7 +295,7 @@ mpn_exp (mp_limb_t *a, mp_exp_t *exp_r, int b, mp_exp_t e, size_t n) *exp_r = f; if (erreur == t) - erreur = -1; /* exact */ + return -1; /* exact */ else { /* if there are p loops after the first inexact result, with |