diff options
author | Nick Bowler <nbowler@draconx.ca> | 2012-02-19 01:38:37 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-02-19 01:38:37 +0000 |
commit | cd837b09b5f1cf4ce8bca27049899258fed83a4e (patch) | |
tree | 88df3d9653f12a44d0fc1ad2c798e6168667ec1f /manual | |
parent | 02c4bbad9ceb0bbe3bacbab56ce0f0fc66f10467 (diff) | |
download | glibc-cd837b09b5f1cf4ce8bca27049899258fed83a4e.zip glibc-cd837b09b5f1cf4ce8bca27049899258fed83a4e.tar.gz glibc-cd837b09b5f1cf4ce8bca27049899258fed83a4e.tar.bz2 |
Remove erroneous statements about negative zero.
Diffstat (limited to 'manual')
-rw-r--r-- | manual/arith.texi | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/manual/arith.texi b/manual/arith.texi index c5795c2..e160438 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: |