From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt1-x835.google.com (mail-qt1-x835.google.com [IPv6:2607:f8b0:4864:20::835]) by sourceware.org (Postfix) with ESMTPS id 6BDFC3954472 for ; Tue, 1 Jun 2021 17:36:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6BDFC3954472 Received: by mail-qt1-x835.google.com with SMTP id s12so10730398qta.3 for ; Tue, 01 Jun 2021 10:36:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=8Wf3eVZCRAt63LKkzwK9pKAxvFonEk2P405/rYBH2Pc=; b=d/GAWMG3kooG/0m68peMqffLRPcVNb6Skemdmv+EZWduyqhqBB9gEQSlA1DA18N1xO Tr09ASAOsUpwYQOsrVV8QjcHMvJXmV/YM3oqE/Ka55FiJVg+dzfG3R6+mrhpFDPLFz4m NMqQGqY4su0dQC0yQM23MwIqCUPEXz5ftk05IvOW26XHZPKkQ/P7Q3tECJu6U373Ynhj lQuGUN0cTyzpYKChwfivvc8zrqMQ9sE1s0pKNwmHPg3wLbcNxTGWEABVU1JxYhmQ2tcq rvd9cfgZF4qVOSnkToUVw8UfUxyz/jdE6AhGEyYZw2Ua6tR3ux2l64C5GUNuVZZDekXG 9/Xg== X-Gm-Message-State: AOAM533bfImiXLidkyvHiQX2JxAp5Opmzjp4TkaHK8dmRBY11FI05qJH yVWpXO+r5vhsHflcZjVPIFRn8fl2e4SmfA== X-Google-Smtp-Source: ABdhPJx0WLCgZW3kmtXZutxm829cXMCePkVg/8q02DG/2VzcJrXMKal1bbmB4Aj3jsjyPtBPReRoOw== X-Received: by 2002:aed:314f:: with SMTP id 73mr21382951qtg.194.1622568984792; Tue, 01 Jun 2021 10:36:24 -0700 (PDT) Received: from [192.168.1.4] ([177.194.59.218]) by smtp.gmail.com with ESMTPSA id t196sm957581qke.50.2021.06.01.10.36.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Jun 2021 10:36:24 -0700 (PDT) Subject: Re: Update floating-point feature test macro handling for C2X To: Joseph Myers Cc: libc-alpha@sourceware.org References: <0fa310c0-d586-66b8-eb86-bdc554617791@linaro.org> From: Adhemerval Zanella Message-ID: Date: Tue, 1 Jun 2021 14:36:22 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2021 17:36:26 -0000 On 01/06/2021 14:30, Joseph Myers wrote: > On Fri, 28 May 2021, Adhemerval Zanella via Libc-alpha wrote: > >>> @@ -215,6 +215,13 @@ enabled. Only some of the features from this TS are supported by >>> @theglibc{}. >>> @end defvr >>> >>> +@defvr Macro __STDC_WANT_IEC_60559_EXT__ >>> +@standards{ISO, (none)} >>> +If you define this macro, ISO C2X features defined in Annex F of that >>> +standard are enabled. This affects declarations of the >>> +@code{totalorder} functions and functions related to NaN payloads. >>> +@end defvr >>> + >>> @defvr Macro _GNU_SOURCE >>> @standards{GNU, (none)} >>> If you define this macro, everything is included: @w{ISO C89}, @w{ISO >> >> Should it add a note for CR_DECIMAL_DIG as well? Or the gcc documentation >> is suffice? > > I think this part of the manual is only expected to cover the effects of > feature test macros on glibc's own headers, not on compiler-provided > headers. > Fair enough.