aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-02-17 23:46:51 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-02-17 23:46:51 +0000
commit2ee633a2433eb937c1dbd9646789af46aba50831 (patch)
treecafe11389d534c29bb4b156f650621a241ee4168
parent0520adde6b06d750067cbdf46b1fb9d098b33a95 (diff)
downloadglibc-2ee633a2433eb937c1dbd9646789af46aba50831.tar
glibc-2ee633a2433eb937c1dbd9646789af46aba50831.tar.gz
glibc-2ee633a2433eb937c1dbd9646789af46aba50831.tar.bz2
glibc-2ee633a2433eb937c1dbd9646789af46aba50831.zip
Correct documentation of FLT_EPSILON.
-rw-r--r--ChangeLog6
-rw-r--r--NEWS6
-rw-r--r--manual/lang.texi4
3 files changed, 11 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 6a9b16b02a..32cbb65abd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-02-17 Joseph Myers <joseph@codesourcery.com>
+
+ [BZ #5077]
+ * manual/lang.texi (FLT_EPSILON): Avoid description depending on
+ rounding modes.
+
2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
[BZ #6907]
diff --git a/NEWS b/NEWS
index 59e07eaabf..3b97e5c2ea 100644
--- a/NEWS
+++ b/NEWS
@@ -9,9 +9,9 @@ Version 2.16
* The following bugs are resolved with this release:
- 174, 350, 411, 3335, 4026, 4822, 5805, 6884, 6907, 9902, 10140, 10210,
- 11494, 12047, 13525, 13526, 13527, 13528, 13529, 13530, 13531, 13532,
- 13533, 13547, 13551, 13552, 13553, 13555, 13559, 13583, 13618
+ 174, 350, 411, 3335, 4026, 4822, 5077, 5805, 6884, 6907, 9902, 10140,
+ 10210, 11494, 12047, 13525, 13526, 13527, 13528, 13529, 13530, 13531,
+ 13532, 13533, 13547, 13551, 13552, 13553, 13555, 13559, 13583, 13618
* ISO C11 support:
diff --git a/manual/lang.texi b/manual/lang.texi
index 82c5e962a0..9bc98710a8 100644
--- a/manual/lang.texi
+++ b/manual/lang.texi
@@ -1202,8 +1202,8 @@ macro's value is the same as the type it describes.
@comment ISO
@item FLT_EPSILON
-This is the minimum positive floating point number of type @code{float}
-such that @code{1.0 + FLT_EPSILON != 1.0} is true. It's supposed to
+This is the difference between 1 and the smallest floating point
+number of type @code{float} that is greater than 1. It's supposed to
be no greater than @code{1E-5}.
@comment float.h