public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "newbie-02 at gmx dot de" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/31426] log10( 10^n ) poor accuracy in bin80 datatype, log10l( 1E+07l ) -> 7.000000000000000000434...
Date: Wed, 28 Feb 2024 12:49:38 +0000	[thread overview]
Message-ID: <bug-31426-131-58t9INgRPC@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-31426-131@http.sourceware.org/bugzilla/>

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

--- Comment #2 from b. <newbie-02 at gmx dot de> ---
@Andreas Schwab: 

thanks for the hint, it's 1 ULP off! 

add. observations: 
for 4933 positive integral powers of ten 
log10l has 1 ULP devia in 1730 cases, 
logl( 10^n ) / logl( 10 ) has 1 ULP devia in 486 cases, 
for 4950 negative integral powers of ten 
log10l has 1 ULP devia in 1745 cases, 
logl( 10^n ) / logl( 10 ) has 1 ULP devia in 501 cases, 
all these devias can be neutralized with simple recheck 
calculations, if! integral powers of ten are exact. #28474.

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

      parent reply	other threads:[~2024-02-28 12:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-28 11:32 [Bug math/31426] New: " newbie-02 at gmx dot de
2024-02-28 11:49 ` [Bug math/31426] " schwab@linux-m68k.org
2024-02-28 12:49 ` newbie-02 at gmx dot de [this message]

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=bug-31426-131-58t9INgRPC@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sourceware.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: link
Be 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).