This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug manual/5077] New: Documentation bug, FLT_EPSILON and friends


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]