From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id A54DE3858D38 for ; Wed, 17 Jan 2024 00:36:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A54DE3858D38 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A54DE3858D38 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705451784; cv=none; b=t7049omznZ9B7Ha33FQUNCtdwZEIYLp+b28GTXtz7Tlu7iQCl+oC7YtVKGXNuZaFTUHk9T4OsS4yYWmC3QHtizFYyTPGCbkmT3Y9FVTosAGE3pSNOYv42oidpEw5R7BarZ+VDusIkyv+Pi2d7PnichNEL1rBmmrUb1rWYpDOFcc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705451784; c=relaxed/simple; bh=DaB3gq/hFDcOk/EJsdCzCc07xmDwch2Bskk3nneA8eE=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=gyJ5qWzgnzAB3UEJ02Xc3ZqLfE/Xz1LfBONIapQXt34BrJ1Zj9hoFbaFiJn7e/jWkgZ0HuHbz2c9tJmH9kLKfbSxxeHy3lRMgWDZSbzUsZTJzBTFKculG/n4B/FjbRyxdBPsFOy3uEu7F3Y3LURax1BhiNwIgL+TMekQH3ghYcM= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1705451782; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Wp0VCEZJNWGaYleq2zTKai2iPrldIWMv1fWgHq6oovY=; b=FLXgV6jJgX84IeKI5QiEA8mk0muZU+rIPmkOOmIRtEiIWuVdULW2OgWsiFnxQb3pPPL5rn Tcn6/3Im+c8etdqAKz9KHAB0g4SWs+xWDfsAimc5FPeJYq9kbZRHatUVMK8EFJCY7WlL7R vRvebSVgDWNuI3kh50Qlv0xeaE+bm7U= Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-670-X0vVhvz7P4W0YxCIktgMbw-1; Tue, 16 Jan 2024 19:36:21 -0500 X-MC-Unique: X0vVhvz7P4W0YxCIktgMbw-1 Received: by mail-qt1-f197.google.com with SMTP id d75a77b69052e-429fe127372so31953141cf.0 for ; Tue, 16 Jan 2024 16:36:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705451780; x=1706056580; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Wp0VCEZJNWGaYleq2zTKai2iPrldIWMv1fWgHq6oovY=; b=wp1RemGu58u9NzDKCgHoPuWGmOdl2sW9YRsg/7x8PtNUk1dafaekhER31K9CTki6iy u/I0kXpX36h56BdpcEf+nhEBDno82wn22hZveeVFer9d4Vumf+WCxOURZ5LExpXMsuZG wBivZ4nzWVBRaQggvY8YHCtJbkLUPuManLQP+7OSKkAdvq9ExWpHXbJJJI++X3qzNg7n x6jWGHrqosqbrzDORQyQd0XxHXFP6IO6XYpRQn9h3KGV4xFtndCs5JWv2PXN5jeEmMV5 L8M8uoscF8/IEQm65RSMe2RkbjuRwReDtDi8DiSit3CLutCqfgDEYNs7HQaNZONS414u V6pA== X-Gm-Message-State: AOJu0YxwbABFhJsTlTzISozUfLQXKKRdMIZ7QsNXxLnwSAFIP+5uLQof U+dOp//iksLACXxqXD9N8pTUBPqbgnxDm2cAUryqkGsPj0uefTsZXSHXPCNxifbigUMtVLRBaqJ x7yJTorHOmDePViXsR4Dzzr6OklIJnNmmJw== X-Received: by 2002:a05:622a:199a:b0:42a:dc7:88c1 with SMTP id u26-20020a05622a199a00b0042a0dc788c1mr525907qtc.74.1705451780538; Tue, 16 Jan 2024 16:36:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IHejgx+vudky563Xks30haC2KvR28nskncBOFLaDXxBpqhuNrG0GqyobN8IhwbW9KbMLl9L4A== X-Received: by 2002:a05:622a:199a:b0:42a:dc7:88c1 with SMTP id u26-20020a05622a199a00b0042a0dc788c1mr525900qtc.74.1705451780310; Tue, 16 Jan 2024 16:36:20 -0800 (PST) Received: from [192.168.1.146] (130-44-146-16.s12558.c3-0.arl-cbr1.sbo-arl.ma.cable.rcncustomer.com. [130.44.146.16]) by smtp.gmail.com with ESMTPSA id cb27-20020a05622a1f9b00b00429bdb1d705sm5357155qtb.1.2024.01.16.16.36.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 16 Jan 2024 16:36:19 -0800 (PST) Message-ID: Date: Tue, 16 Jan 2024 19:36:19 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 03/14] c++: Implement __is_floating_point built-in trait To: Ken Matsui , gcc-patches@gcc.gnu.org Cc: libstdc++@gcc.gnu.org References: <20240110194031.2384005-1-kmatsui@gcc.gnu.org> <20240110194031.2384005-4-kmatsui@gcc.gnu.org> From: Jason Merrill In-Reply-To: <20240110194031.2384005-4-kmatsui@gcc.gnu.org> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 1/10/24 04:22, Ken Matsui wrote: > +/* Return true if T is a floating point type. With __STRICT_ANSI__, __float128 > + is not a floating point type. However, _Float128 is a floating point type. My comment about __is_integral again, but more so; if we support _Float128, why not __float128? And what about __bfloat16_t? Jason