diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2007-01-16 23:15:29 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2007-01-16 23:15:29 +0000 |
commit | 28d27fe30da2864a1743cb55edf9b071a06d5abc (patch) | |
tree | 8d57a00a454b7596ffea38663d7ccb97a2b018cc /pow_si.c | |
parent | 8d1e74919c8bc658e1aad77ff9df5232c5e28f63 (diff) | |
download | mpfr-28d27fe30da2864a1743cb55edf9b071a06d5abc.tar.gz |
Updated comment concerning LONG_MIN / 1.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4332 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'pow_si.c')
-rw-r--r-- | pow_si.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -72,8 +72,8 @@ mpfr_pow_si (mpfr_ptr y, mpfr_srcptr x, long int n, mp_rnd_t rnd) mpfr_set_si (y, (n % 2) ? MPFR_INT_SIGN (x) : 1, rnd); MPFR_ASSERTD (n < 0); /* Warning: n * expx may overflow! - Some systems abort with LONG_MIN / 1, and LONG_MIN / -1 - is undefined. */ + Some systems (apparently alpha-freebsd) abort with + LONG_MIN / 1, and LONG_MIN / -1 is undefined. */ if (n != -1 && expx > 0 && -expx < MPFR_EXP_MIN / (-n)) MPFR_EXP (y) = MPFR_EMIN_MIN - 1; /* Underflow */ else if (n != -1 && expx < 0 && -expx > MPFR_EXP_MAX / (-n)) |