This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug manual/5077] New: Documentation bug, FLT_EPSILON and friends
- From: "br276 at cam dot ac dot uk" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 28 Sep 2007 18:07:33 -0000
- Subject: [Bug manual/5077] New: Documentation bug, FLT_EPSILON and friends
- Reply-to: sourceware-bugzilla at sourceware dot org
The libc manual (section A.5.3.2, gnu.org, dated Aug. 5, retrieved today) states
that FLT_EPSILON is the smallest positive float that, when added to 1, gives a
float different from 1. Actually (according to ISO C99) it's the difference
between 1 and the smallest float greater than 1. This quantity is independent of
the rounding mode, and for many rounding modes, including the default, it
differs from the value defined in the libc manual. The actual header file
correctly follows the standard, as does section A.5.3.3 of the manual. The same
bug exists for DBL_EPSILON and LDBL_EPSILON.
--
Summary: Documentation bug, FLT_EPSILON and friends
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: manual
AssignedTo: roland at gnu dot org
ReportedBy: br276 at cam dot ac dot uk
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=5077
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.