From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa1.mentor.iphmx.com (esa1.mentor.iphmx.com [68.232.129.153]) by sourceware.org (Postfix) with ESMTPS id 23B50387089F for ; Fri, 12 Mar 2021 18:14:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 23B50387089F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=joseph_myers@mentor.com IronPort-SDR: 48DmFy67CPKLMcP47EkGDjgW6NjNjPoJPEJTtpZtDGzTSVW++Zn2xJhtW7Y5xp+xUqZMZaCXwO 6qJXYG7KcnzY3EnCaS71Qcbmp7Pi0hivj82+wEhDcH24KmhreVKQJKJPTRJ8UIjj1esWX0L3w8 X/6+Oh+aDj/tN2JyXQggqgAWa36L+75jHlx2trXPmsULRWtLmJ3XeAujpBwhO/ChMWcPmQd1qR q0PRnnHOQC3ctMRY35oV8l5zs8ohStjP8k77qpCdhh3wEXpdygoZ4cKbOSDCTREaqQTY2upeyA Q9Q= X-IronPort-AV: E=Sophos;i="5.81,244,1610438400"; d="scan'208";a="61377073" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa1.mentor.iphmx.com with ESMTP; 12 Mar 2021 10:14:08 -0800 IronPort-SDR: 3WqJTpGK7E9q9pknktAJ/ML78p/WY7lXlgxj8bGg+pE+QS28K1DXlHOFhgC6Pr4ZP8PRw8Gtxz AE2mj1qNcjSPfvSv8hI55oGElpUDE5a3E/ozZv6YV36uTo6s2fBTyOOv2iny4Z4XMnuNM8B7lT 92njIGXoF5DKeSKqLimk7qZh04Z1qs9NppvE8tkDd8IgmhCyFM58ogSM8Rm8pO9acL1x53/wz2 NZ/GaS9eODhE96GplD7LrSpIUKfjHHDweN6T0ghsZnvR7KkwMcEVQBp9O4pM2lFGIPtMhhcw37 40U= Date: Fri, 12 Mar 2021 18:14:04 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Jonathan Wakely CC: Sjoerd Meijer , Kito Cheng , GCC Subject: Re: IEEE Interchange floating point and extended floating point for C++ In-Reply-To: Message-ID: References: User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-09.mgc.mentorg.com (139.181.222.9) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-3122.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2021 18:14:11 -0000 On Fri, 12 Mar 2021, Joseph Myers wrote: > On Fri, 12 Mar 2021, Jonathan Wakely wrote: > > > On Fri, 12 Mar 2021 at 12:26, Sjoerd Meijer via Gcc wrote: > > > So here's finally my concrete question: what do we think about making _Float16 available in C++ mode? > > > > I think GCC should do it. > > What about types with the same format as an existing type (but which are > nevertheless distinct types in C), such as _Float64 (typically same format > as double) or _Float32 (typically same format as float, but not promoted > when passed in variable arguments)? And also the _Float32x, _Float64x types (we don't have any targets supporting _Float128x). (On all systems supporting those types in GCC, _Float32x has the same format as double and _Float64, and _Float64x has the same format as either long double or _Float128, but again they are different types.) -- Joseph S. Myers joseph@codesourcery.com