public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jakub Jelinek <jakub@redhat.com>
To: Joseph Myers <joseph@codesourcery.com>
Cc: Aldy Hernandez <aldyh@redhat.com>,
	Andrew MacLeod <amacleod@redhat.com>,
	gcc-patches@gcc.gnu.org
Subject: Re: [PATCH] range-op-float: Fix up -frounding-math frange_arithmetic +- handling [PR110755]
Date: Mon, 24 Jul 2023 21:45:13 +0200	[thread overview]
Message-ID: <ZL7UyauwgXFBZBnS@tucnak> (raw)
In-Reply-To: <9b1ab25f-c189-c53c-547-2f983c268a7f@codesourcery.com>

On Mon, Jul 24, 2023 at 07:39:05PM +0000, Joseph Myers wrote:
> On Mon, 24 Jul 2023, Jakub Jelinek via Gcc-patches wrote:
> 
> > I believe it is only +- which has this problematic behavior and I think
> 
> fma has the same property (of rounding-mode-dependent exact results), but 
> I think that's not relevant here?

Indeed, real_arithmetics doesn't handle FMA* and I think the ranger doesn't
either as of now, if it would, it would likely use mpfr for that and indeed
would need to take this into account.

	Jakub


  reply	other threads:[~2023-07-24 19:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-24 16:01 Jakub Jelinek
2023-07-24 19:39 ` Joseph Myers
2023-07-24 19:45   ` Jakub Jelinek [this message]
2023-07-25 19:15 ` Aldy Hernandez

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=ZL7UyauwgXFBZBnS@tucnak \
    --to=jakub@redhat.com \
    --cc=aldyh@redhat.com \
    --cc=amacleod@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=joseph@codesourcery.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).