public inbox for
 help / color / mirror / Atom feed
From: Jakub Jelinek <>
To: Pranav Kant <>
Cc: Jonathan Wakely <>,
	Stephan Bergmann <>,,
Subject: Re: [committed] libstdc++: Define std::numeric_limits<_FloatNN> before C++23
Date: Wed, 4 Oct 2023 18:57:13 +0200	[thread overview]
Message-ID: <ZR2ZaXksYJfqBWvp@tucnak> (raw)
In-Reply-To: <>

On Wed, Oct 04, 2023 at 09:47:34AM -0700, Pranav Kant wrote:
> Thanks for bringing this to my attention. I am working on a fix. Will keep
> this thread posted.
> Clang *does* define this macro only when float128 type is available. But
> the problem seems to be that clang doesn't define _Float128 alias type
> which is what's being used here. It only defines __float128 type. Should be
> easy to fix.

_Float128 (and other _FloatNN types) are standard C23 and C++23 types,
they certainly can't be simple aliases to __float128 or other similar types.
In C++ they mangle differently, have significantly different behavior in
lots of different language details.
So, you need to implement the paper, rather than
doing quick hacks.


  reply	other threads:[~2023-10-04 16:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-17 20:32 Jonathan Wakely
2023-10-04 15:54 ` Stephan Bergmann
2023-10-04 15:56   ` Jonathan Wakely
2023-10-04 16:47     ` Pranav Kant
2023-10-04 16:57       ` Jakub Jelinek [this message]
2023-10-04 17:00         ` Pranav Kant
2023-10-04 18:21           ` Pranav Kant

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZR2ZaXksYJfqBWvp@tucnak \ \ \ \ \ \ \

* 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).