summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/ieee754/dbl-64/mpexp.h16
2 files changed, 11 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 78acd020f2..b1e4816e3a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
+ * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
+ four values.
+
* sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
calculation loop and add branch prediction.
diff --git a/sysdeps/ieee754/dbl-64/mpexp.h b/sysdeps/ieee754/dbl-64/mpexp.h
index 59f5c6786e..44f509db55 100644
--- a/sysdeps/ieee754/dbl-64/mpexp.h
+++ b/sysdeps/ieee754/dbl-64/mpexp.h
@@ -33,10 +33,10 @@ extern const number __mpexp_twomm1[33] attribute_hidden;
#ifdef BIG_ENDI
const number
__mpexp_twomm1[33] = { /* 2**-m1 */
-/**/ {{0x00000000, 0x00000000} }, /* 0 */
-/**/ {{0x00000000, 0x00000000} }, /* 0 */
-/**/ {{0x00000000, 0x00000000} }, /* 0 */
-/**/ {{0x00000000, 0x00000000} }, /* 0 */
+/**/ {{0x3ff00000, 0x00000000} }, /* 1 */
+/**/ {{0x3ff00000, 0x00000000} }, /* 1 */
+/**/ {{0x3ff00000, 0x00000000} }, /* 1 */
+/**/ {{0x3ff00000, 0x00000000} }, /* 1 */
/**/ {{0x3ee00000, 0x00000000} }, /* 2**-17 */
/**/ {{0x3e800000, 0x00000000} }, /* 2**-23 */
/**/ {{0x3e800000, 0x00000000} }, /* 2**-23 */
@@ -72,10 +72,10 @@ extern const number __mpexp_twomm1[33] attribute_hidden;
#ifdef LITTLE_ENDI
const number
__mpexp_twomm1[33] = { /* 2**-m1 */
-/**/ {{0x00000000, 0x00000000} }, /* 0 */
-/**/ {{0x00000000, 0x00000000} }, /* 0 */
-/**/ {{0x00000000, 0x00000000} }, /* 0 */
-/**/ {{0x00000000, 0x00000000} }, /* 0 */
+/**/ {{0x00000000, 0x3ff00000} }, /* 1 */
+/**/ {{0x00000000, 0x3ff00000} }, /* 1 */
+/**/ {{0x00000000, 0x3ff00000} }, /* 1 */
+/**/ {{0x00000000, 0x3ff00000} }, /* 1 */
/**/ {{0x00000000, 0x3ee00000} }, /* 2**-17 */
/**/ {{0x00000000, 0x3e800000} }, /* 2**-23 */
/**/ {{0x00000000, 0x3e800000} }, /* 2**-23 */