public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Paul Zimmermann <Paul.Zimmermann@inria.fr>
To: Wilco Dijkstra <Wilco.Dijkstra@arm.com>
Cc: michael.hudson@canonical.com, joseph@codesourcery.com,
	libc-alpha@sourceware.org
Subject: Re: [PATCH] Ensure calculations happen with desired rounding mode in y1lf128
Date: Mon, 22 Aug 2022 14:28:57 +0200	[thread overview]
Message-ID: <mw8rngpily.fsf@tomate.loria.fr> (raw)
In-Reply-To: <AM5PR0801MB1668EC9F8A41F189B0C0B191836A9@AM5PR0801MB1668.eurprd08.prod.outlook.com> (message from Wilco Dijkstra via Libc-alpha on Wed, 17 Aug 2022 11:53:43 +0000)

> Rewriting this function would not be trivial, but the math functions that are already
> rewritten (like exp, pow, log) prove you can get fast and accurate results without
> ever needing rounding mode changes.

indeed, you can even get correct rounding (for all rounding modes) faster than
the current glibc implementations. See https://hal.inria.fr/hal-03721525
for example, or the current LLVM libc implementations (cf bottom table of
https://core-math.gitlabpages.inria.fr/).

Paul Zimmermann

  parent reply	other threads:[~2022-08-22 12:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-12 12:28 Wilco Dijkstra
2022-08-15 20:59 ` Joseph Myers
2022-08-17  4:23   ` Michael Hudson-Doyle
2022-08-17 11:53     ` Wilco Dijkstra
2022-08-17 16:52       ` Joseph Myers
2022-08-22 12:28       ` Paul Zimmermann [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-08-12  0:05 Michael Hudson-Doyle

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=mw8rngpily.fsf@tomate.loria.fr \
    --to=paul.zimmermann@inria.fr \
    --cc=Wilco.Dijkstra@arm.com \
    --cc=joseph@codesourcery.com \
    --cc=libc-alpha@sourceware.org \
    --cc=michael.hudson@canonical.com \
    /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).