about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2013-01-16 14:52:48 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2013-01-16 14:53:53 +0530
commitdd930cc57100377d02a45b9113d6a3dc93136cbc (patch)
tree8623c4e1c807e27ae641de55c21823058b6c39d1
parent1aa6176780752567fa85a22d25185f78d0419c76 (diff)
downloadglibc-dd930cc57100377d02a45b9113d6a3dc93136cbc.tar.gz
glibc-dd930cc57100377d02a45b9113d6a3dc93136cbc.tar.xz
glibc-dd930cc57100377d02a45b9113d6a3dc93136cbc.zip
Fix the value of TWO
-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    */