public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Joseph Myers <joseph@codesourcery.com>
To: Szabolcs Nagy <szabolcs.nagy@arm.com>
Cc: Paul E Murphy <murphyp@linux.ibm.com>, <libc-alpha@sourceware.org>
Subject: Re: faster expf128
Date: Mon, 29 Jun 2020 22:39:50 +0000	[thread overview]
Message-ID: <alpine.DEB.2.21.2006292238100.11490@digraph.polyomino.org.uk> (raw)
In-Reply-To: <20200626100915.GN16726@arm.com>

On Fri, 26 Jun 2020, Szabolcs Nagy wrote:

> > There is no expectation that most libm functions (other than those such as 
> > fma and sqrt that are fully defined by the corresponding IEEE operations) 
> > set inexact correctly.  (It is necessary to set other exceptions 
> > correctly, and the glibc testsuite verifies that; for expf128, that's 
> > invalid (for signaling NaNs), overflow and underflow.)
> 
> and presumably target specific exceptions are not considered.
> (e.g. input denormal on x86)

Indeed, there are no expectations that libm functions do anything in 
particular with those.  (Those <fenv.h> functions that manipulate the 
whole environment, such as fegetenv and fesetenv, should still save and 
restore such architecture-specific state.)

-- 
Joseph S. Myers
joseph@codesourcery.com

      reply	other threads:[~2020-06-29 22:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-22 11:02 Paul Zimmermann
2020-06-22 13:59 ` Paul E Murphy
2020-06-22 21:18   ` Joseph Myers
2020-06-24  6:22   ` Paul Zimmermann
2020-06-24 17:39     ` Joseph Myers
2020-06-26 10:09       ` Szabolcs Nagy
2020-06-29 22:39         ` Joseph Myers [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=alpine.DEB.2.21.2006292238100.11490@digraph.polyomino.org.uk \
    --to=joseph@codesourcery.com \
    --cc=libc-alpha@sourceware.org \
    --cc=murphyp@linux.ibm.com \
    --cc=szabolcs.nagy@arm.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).