mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 14:30:06 +00:00
Remove erroneous statements about negative zero.
This commit is contained in:
parent
02c4bbad9c
commit
cd837b09b5
@ -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]
|
||||
|
6
NEWS
6
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:
|
||||
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user