public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug manual/31518] New: documentation: FLT_MAX_10_EXP questionable text, evtl. wrong,
@ 2024-03-20 22:47 newbie-02 at gmx dot de
  0 siblings, 0 replies; only message in thread
From: newbie-02 at gmx dot de @ 2024-03-20 22:47 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=31518

            Bug ID: 31518
           Summary: documentation: FLT_MAX_10_EXP questionable text, evtl.
                    wrong,
           Product: glibc
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: manual
          Assignee: unassigned at sourceware dot org
          Reporter: newbie-02 at gmx dot de
                CC: mtk.manpages at gmail dot com
  Target Milestone: ---

'FLT_MAX_10_EXP
This is the maximum positive integer such that 10 raised to **this power minus
1** can be represented as a normalized floating point number of type float.
This is supposed to be at least 37.' in 
https://www.gnu.org/software/libc/manual/html_node/Floating-Point-Parameters.html
.  

A.) should that read as '10^( FLT_MAX_10_EXP ) - 1' or as '10^( FLT_MAX_10_EXP
- 1 )?  
B.) for DBL_MAX_EXP my system returns 1024, while only 2^1023 fits into a
binary64, 
for DBL_MAX_10_EXP it returns 308, where 1E308 is! possible. 
C.) for XXX_MAX_10_EXP I see similar definition, but different behavior /
relation between description and value returned. 

I see some consistency problems, confusions between the two, the manual and the
values returned.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-20 22:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-20 22:47 [Bug manual/31518] New: documentation: FLT_MAX_10_EXP questionable text, evtl. wrong, newbie-02 at gmx dot de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).