about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/ieee754/dbl-64/mpa2.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5a74ea3f6d..e562b5b0a8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+	* sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
+
 2013-01-15  David S. Miller  <davem@davemloft.net>
 
 	* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
diff --git a/sysdeps/ieee754/dbl-64/mpa2.h b/sysdeps/ieee754/dbl-64/mpa2.h
index b80bf412e9..a4a6bddea1 100644
--- a/sysdeps/ieee754/dbl-64/mpa2.h
+++ b/sysdeps/ieee754/dbl-64/mpa2.h
@@ -36,7 +36,7 @@
 #define  ZERO      0.0			/* 0       */
 #define  ONE       1.0			/* 1       */
 #define  MONE      -1.0			/* -1      */
-#define  TWO       -2.0			/* -2      */
+#define  TWO       2.0			/*  2      */
 #define  TWO5      0x1.0p5		/* 2^5     */
 #define  TWO10     0x1.0p10		/* 2^10    */
 #define  TWO18     0x1.0p18		/* 2^18    */