From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C0AFB3858C52; Tue, 10 Jan 2023 00:23:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C0AFB3858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673310203; bh=r4ngYfUKpTqnF3tnaJPrQ62OO9tnJaUQklub0CQoUNs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=LRldEuTAbgmxzxUqvaiXhaye3YLllKQu9ur0P7FjVrlAuW+hUU7HLv0A7MP+w7nQ2 jtRk9oI58D9wMEXmL8brdNPE+Glvp9PzT2AMu98M4Eq2UJqTHBu0GRq7dc+BIAVtbr pPJ5SZ9a0jTT+TObZ5qTnSExj+9A5yAEMnGzrOzw= From: "newbie-02 at gmx dot de" To: glibc-bugs@sourceware.org Subject: [Bug math/28472] pow(10, i) accuracy Date: Tue, 10 Jan 2023 00:23:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: newbie-02 at gmx dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D28472 --- Comment #13 from b. --- (In reply to joseph@codesourcery.com from comment #12) > I don't consider special-casing 10 in pow to be reasonable.=20=20 As M Welinder pointed out in C#2 it's an IEEE recommendation to have these values correct, and - again - it's important in rounding other values. Roun= ding is the only! weapon a user has against FP-math imprecision, this should be taken important.=20=20 And it fundamentally harms math logic if pow( 10, 23 ) <> 1E+23.=20=20 Can't argue about the other points because I don't know enough about CORE, _builtin ..., IMHO the workaround is independent of such ...=20=20 The request is to have correct powers of ten.=20=20 How this is achieved is a matter for the experts. It was important to me to emphasize that it is! important and to show that it is! possible. --=20 You are receiving this mail because: You are on the CC list for the bug.=