mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-25 07:21:05 +00:00
2e6a56d1cc
This changeset adds official patches published on mpfr website. Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
46 lines
1.8 KiB
Diff
46 lines
1.8 KiB
Diff
diff -Naurd mpfr-3.0.0-a/PATCHES mpfr-3.0.0-b/PATCHES
|
|
--- mpfr-3.0.0-a/PATCHES 2010-10-21 20:28:38.000000000 +0000
|
|
+++ mpfr-3.0.0-b/PATCHES 2010-10-21 20:28:38.000000000 +0000
|
|
@@ -0,0 +1 @@
|
|
+tcan_round
|
|
diff -Naurd mpfr-3.0.0-a/VERSION mpfr-3.0.0-b/VERSION
|
|
--- mpfr-3.0.0-a/VERSION 2010-09-07 08:46:06.000000000 +0000
|
|
+++ mpfr-3.0.0-b/VERSION 2010-10-21 20:28:38.000000000 +0000
|
|
@@ -1 +1 @@
|
|
-3.0.0-p4
|
|
+3.0.0-p5
|
|
diff -Naurd mpfr-3.0.0-a/mpfr.h mpfr-3.0.0-b/mpfr.h
|
|
--- mpfr-3.0.0-a/mpfr.h 2010-09-07 08:46:06.000000000 +0000
|
|
+++ mpfr-3.0.0-b/mpfr.h 2010-10-21 20:28:38.000000000 +0000
|
|
@@ -27,7 +27,7 @@
|
|
#define MPFR_VERSION_MAJOR 3
|
|
#define MPFR_VERSION_MINOR 0
|
|
#define MPFR_VERSION_PATCHLEVEL 0
|
|
-#define MPFR_VERSION_STRING "3.0.0-p4"
|
|
+#define MPFR_VERSION_STRING "3.0.0-p5"
|
|
|
|
/* Macros dealing with MPFR VERSION */
|
|
#define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
|
|
diff -Naurd mpfr-3.0.0-a/tests/tcan_round.c mpfr-3.0.0-b/tests/tcan_round.c
|
|
--- mpfr-3.0.0-a/tests/tcan_round.c 2010-06-10 11:00:13.000000000 +0000
|
|
+++ mpfr-3.0.0-b/tests/tcan_round.c 2010-10-21 20:28:38.000000000 +0000
|
|
@@ -41,7 +41,7 @@
|
|
/* avoid mpn_random which leaks memory */
|
|
for (i = 0; i < n; i++)
|
|
buf[i] = randlimb ();
|
|
- p = (mpfr_prec_t) randlimb() % ((n-1) * GMP_NUMB_BITS) + MPFR_PREC_MIN;
|
|
+ p = randlimb() % ((n-1) * GMP_NUMB_BITS) + MPFR_PREC_MIN;
|
|
err = p + randlimb () % GMP_NUMB_BITS;
|
|
r1 = mpfr_round_p (buf, n, err, p);
|
|
r2 = mpfr_can_round_raw (buf, n, MPFR_SIGN_POS, err,
|
|
diff -Naurd mpfr-3.0.0-a/version.c mpfr-3.0.0-b/version.c
|
|
--- mpfr-3.0.0-a/version.c 2010-09-07 08:46:06.000000000 +0000
|
|
+++ mpfr-3.0.0-b/version.c 2010-10-21 20:28:38.000000000 +0000
|
|
@@ -25,5 +25,5 @@
|
|
const char *
|
|
mpfr_get_version (void)
|
|
{
|
|
- return "3.0.0-p4";
|
|
+ return "3.0.0-p5";
|
|
}
|