public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: nzook@bga.com To: gcc-gnats@gcc.gnu.org Subject: other/4894: gcc/config/float-i386.h bad define? Date: Mon, 12 Nov 2001 20:16:00 -0000 [thread overview] Message-ID: <20011119022739.26079.qmail@sourceware.cygnus.com> (raw) >Number: 4894 >Category: other >Synopsis: gcc/config/float-i386.h bad define? >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: wrong-code >Submitter-Id: net >Arrival-Date: Sun Nov 18 18:36:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: nzook@bga.com >Release: gcc-3.0.1 >Organization: >Environment: i*86 >Description: from ${SRCDIR}/gcc/config/float-i386.h: #if __STDC_VERSION__ >= 199901L ... /* Number of decimal digits to enable rounding to the given number of decimal digits without loss of precision. if FLT_RADIX == 10^n: #mantissa * log10 (FLT_RADIX) else : ceil (1 + #mantissa * log10 (FLT_RADIX)) where #mantissa is the number of bits in the mantissa of the widest supported floating-point type. */ # undef DECIMAL_DIG # define DECIMAL_DIG 21 #endif /* C99 */ >How-To-Repeat: >Fix: I don't care what the C standard says, NO x87 processor has ever supported more than 64 mantissas bits in an external format. Internal fromats have usually been 66 bits. (K7 is 68). This redefinition is WRONG. It should be dropped before something breaks. >Release-Note: >Audit-Trail: >Unformatted:
next reply other threads:[~2001-11-19 2:36 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-11-12 20:16 nzook [this message] 2001-11-21 3:33 rth 2001-11-21 3:36 rth
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20011119022739.26079.qmail@sourceware.cygnus.com \ --to=nzook@bga.com \ --cc=gcc-gnats@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).