Fix values in __mpexp_twomm1
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Wed, 2 Jan 2013 12:13:35 +0000 (17:43 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Wed, 2 Jan 2013 12:13:35 +0000 (17:43 +0530)
ChangeLog
sysdeps/ieee754/dbl-64/mpexp.h

index 78acd02..b1e4816 100644 (file)
--- 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.
 
index 59f5c67..44f509d 100644 (file)
@@ -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 */