Correct documentation of FLT_EPSILON.
authorJoseph Myers <joseph@codesourcery.com>
Fri, 17 Feb 2012 23:46:51 +0000 (23:46 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 17 Feb 2012 23:46:51 +0000 (23:46 +0000)
ChangeLog
NEWS
manual/lang.texi

index 6a9b16b..32cbb65 100644 (file)
--- 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 59e07ea..3b97e5c 100644 (file)
--- 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:
 
index 82c5e96..9bc9871 100644 (file)
@@ -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