about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNick Bowler <nbowler@draconx.ca>2012-02-19 01:38:37 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-02-19 01:38:37 +0000
commitcd837b09b5f1cf4ce8bca27049899258fed83a4e (patch)
tree88df3d9653f12a44d0fc1ad2c798e6168667ec1f
parent02c4bbad9ceb0bbe3bacbab56ce0f0fc66f10467 (diff)
downloadglibc-cd837b09b5f1cf4ce8bca27049899258fed83a4e.tar.gz
glibc-cd837b09b5f1cf4ce8bca27049899258fed83a4e.tar.xz
glibc-cd837b09b5f1cf4ce8bca27049899258fed83a4e.zip
Remove erroneous statements about negative zero.
-rw-r--r--ChangeLog6
-rw-r--r--NEWS6
-rw-r--r--manual/arith.texi8
3 files changed, 11 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index 373dac2b2b..ff945330b2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-02-19  Nick Bowler  <nbowler@draconx.ca>
+
+	[BZ #11322]
+	* manual/arith.texi: Remove statements about negative zero
+	behaving identically to zero.
+
 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
 
 	[BZ #5993]
diff --git a/NEWS b/NEWS
index d80d65c82a..da8861c0da 100644
--- a/NEWS
+++ b/NEWS
@@ -10,9 +10,9 @@ Version 2.16
 * The following bugs are resolved with this release:
 
   174, 350, 411, 3335, 4026, 4596, 4822, 5077, 5805, 5993, 6884, 6907, 9902,
-  10140, 10210, 11494, 12047, 13058, 13525, 13526, 13527, 13528, 13529,
-  13530, 13531, 13532, 13533, 13547, 13551, 13552, 13553, 13555, 13559,
-  13583, 13618
+  10140, 10210, 11322, 11494, 12047, 13058, 13525, 13526, 13527, 13528,
+  13529, 13530, 13531, 13532, 13533, 13547, 13551, 13552, 13553, 13555,
+  13559, 13583, 13618
 
 * ISO C11 support:
 
diff --git a/manual/arith.texi b/manual/arith.texi
index c5795c2ed8..e160438938 100644
--- a/manual/arith.texi
+++ b/manual/arith.texi
@@ -657,9 +657,7 @@ such as by defining @code{_GNU_SOURCE}, and then you must include
 @w{IEEE 754} also allows for another unusual value: negative zero.  This
 value is produced when you divide a positive number by negative
 infinity, or when a negative result is smaller than the limits of
-representation.  Negative zero behaves identically to zero in all
-calculations, unless you explicitly test the sign bit with
-@code{signbit} or @code{copysign}.
+representation.
 
 @node Status bit operations
 @subsection Examining the FPU status word
@@ -926,9 +924,7 @@ If a result is too small to be represented as a denormalized number, it
 is rounded to zero.  However, the sign of the result is preserved; if
 the calculation was negative, the result is @dfn{negative zero}.
 Negative zero can also result from some operations on infinity, such as
-@math{4/-@infinity{}}.  Negative zero behaves identically to zero except
-when the @code{copysign} or @code{signbit} functions are used to check
-the sign bit directly.
+@math{4/-@infinity{}}.
 
 At any time one of the above four rounding modes is selected.  You can
 find out which one with this function: