summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2020-09-10 08:19:25 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2020-09-10 08:19:25 +0000
commitf71f80e0c8a6a5ba406f8e91c30a0f97a2df65c5 (patch)
tree18b128240dfa7a2f45853aeb19aa90eeab0ec9d9
parent7fd8ef31edaf4532445ac24841b4a3e6f3fac54b (diff)
downloadmpfr-f71f80e0c8a6a5ba406f8e91c30a0f97a2df65c5.tar.gz
Updated a freebsd.org URL (bug tracker).
(merged changeset r14104 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.1@14105 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r--src/pow_si.c2
-rw-r--r--src/strtofr.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/pow_si.c b/src/pow_si.c
index 081580e1c..d58dcdb26 100644
--- a/src/pow_si.c
+++ b/src/pow_si.c
@@ -75,7 +75,7 @@ mpfr_pow_si (mpfr_ptr y, mpfr_srcptr x, long int n, mpfr_rnd_t rnd)
*
* Some systems (apparently alpha-freebsd) abort with
* LONG_MIN / 1, and LONG_MIN / -1 is undefined.
- * http://www.freebsd.org/cgi/query-pr.cgi?pr=72024
+ * https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=72024
*
* Proof of the overflow checking. The expressions below are
* assumed to be on the rational numbers, but the word "overflow"
diff --git a/src/strtofr.c b/src/strtofr.c
index c6aeb7391..8e4ba1802 100644
--- a/src/strtofr.c
+++ b/src/strtofr.c
@@ -645,7 +645,8 @@ parsed_string_to_mpfr (mpfr_t x, struct parsed_string *pstr, mpfr_rnd_t rnd)
/* On some FreeBsd/Alpha, LONG_MIN/1 produced an exception
so we used to check for this before doing the division.
Since this bug is closed now (Nov 26, 2009), we remove
- that check (http://www.freebsd.org/cgi/query-pr.cgi?pr=72024) */
+ that check
+ <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=72024> */
if (tmp > 0 && MPFR_EXP_MAX / pow2 <= tmp)
goto overflow;
else if (tmp < 0 && MPFR_EXP_MIN / pow2 >= tmp)