From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A3FAB3858D1E; Mon, 5 Feb 2024 15:16:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A3FAB3858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1707146212; bh=KUv6ghwvElcYSHgmoOsBqFneYeuebs2N8Y3W9k5dXYI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=AVNpfnNhCgJyxHdf4t+zPpAcHI3FKBPigH7Ba8sqvuh4WsCsOui4Zj7P4SQndhCUz PvhnDoIX0u2vVo/KAhaQs/0gLfaCxq8npyzHoaeNWqRTN5l3qRzjEGHKSNfO5CTiVb 9SFrYQ5vz0R3LvCIQ+p7fBKmi7XtM4rax6ny5ZcA= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/113770] _Float64x support on g++ 13.2.0 Date: Mon, 05 Feb 2024 15:16:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D113770 --- Comment #7 from Jakub Jelinek --- (In reply to Masahide Kashiwagi from comment #5) > Thank you very much. >=20 > I understand that g++ 13 no longer supports _Float64x in a very limited w= ay. You understand it wrong. _Float64x wasn't supported at all in GCC 12 and earlier. The reason you don't get an error is because of glibc typedefs. Now it is supported in a limited way. > Does this mean that if I want to use 80-bit extended floating point numbe= rs > in g++ 13 or later, is it best to use long double? >=20 > Since long double may not be 80-bit on non-x86 architectures, I wanted to > use _Float64x or __float80, which are clearly 80-bit, if possible. _Float64x certainly doesn't mean 80-bit. In C, it doesn't have to be suppo= rted at all (such as when IEEE double is the largest type supported by hw and/or emulation), or can be IEEE quad, 80-bit extended or whatever else. So, if you need only 80-bit and want an error otherwise, use __float80.=