public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Joseph Myers <joseph@codesourcery.com>
To: Michael Morrell <mmorrell@tachyum.com>
Cc: "libc-alpha@sourceware.org" <libc-alpha@sourceware.org>
Subject: Re: x86 Denormal flag
Date: Mon, 21 Jun 2021 20:00:40 +0000	[thread overview]
Message-ID: <alpine.DEB.2.22.394.2106211955160.1010016@digraph.polyomino.org.uk> (raw)
In-Reply-To: <a8a1100a9d9f40f2919969fd6c629b7a@tachyum.com>

On Sat, 19 Jun 2021, Michael Morrell wrote:

> It seems like fetestexcept only works for the 5 standard IEEE flags, but 
> then why is __FE_DENORM even defined?

It would probably be reasonable to move __FE_DENORM from an installed 
header to an internal one that's only used by the fesetenv and fesetmode 
implementations that need to work on the environment (or the control mode 
parts of the environment) as a whole, including implementation-defined 
parts of the environment.

I think including the "denormal operand" flag in FE_ALL_EXCEPT would be a 
bad idea, since it doesn't indicate any kind of exceptional condition in 
standard terms, and given that it's not in FE_ALL_EXCEPT, treating it as 
an exception in other standard functions would be problematic.

-- 
Joseph S. Myers
joseph@codesourcery.com

  reply	other threads:[~2021-06-21 20:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-19  1:09 Michael Morrell
2021-06-21 20:00 ` Joseph Myers [this message]
2021-06-21 20:44   ` Michael Morrell

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.22.394.2106211955160.1010016@digraph.polyomino.org.uk \
    --to=joseph@codesourcery.com \
    --cc=libc-alpha@sourceware.org \
    --cc=mmorrell@tachyum.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).