From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from buffalo.birch.relay.mailchannels.net (buffalo.birch.relay.mailchannels.net [23.83.209.24]) by sourceware.org (Postfix) with ESMTPS id CDBE03858D33 for ; Mon, 23 Jan 2023 16:42:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CDBE03858D33 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=gotplt.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gotplt.org X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 3A7B8202719; Mon, 23 Jan 2023 16:42:22 +0000 (UTC) Received: from pdx1-sub0-mail-a306.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 95EC1202787; Mon, 23 Jan 2023 16:42:21 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1674492141; a=rsa-sha256; cv=none; b=V4rNgUsrs9NlxgfD9QCt/jwAdc4qDMFR2cErBzxrIPDkbuiWX4zHCZXX6uMNYO84GAADch 1p3kGqMrrIkt6xkowVeZkhsdvcpQtrqei83S6MydFmthG08XXjI8Ehg6n5uGDsIll/H8oV uVCjKOCUVIxah4WccnEJjFhaFeCE35WVkmmkpJfsUQDmdk1X2/WjKgrN4Irehr3OC3DHtj /wAAXGzgAuMPV9o1JMS15+PzLLqeefaHyHHoGbzFWQ91tFtZAjKtT10esjIiNxXqIdgZzY 2BMM8bgASfxt1pJTuYp4yY7Xy/9uXr2jZr5Nuev6X47lmRVyWcvUg/oZXrni0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1674492141; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=IcM2Lv+ajJQ8EB8AvOCPJI/r2k13w+IJBLFbz83DiWk=; b=rdAo9u0m4xXM75O37V9MpLuY/TdrJ78vuzkeCG0mm0OMPpz77FCGVLo4mfjZTJBXTo5om0 MwDqYFvbkcKGysfbU4tkIMRNuypUgmbKKTbO4wj37ebSN64h38BIvHfkbAqFQ9lbmJI3zD m8j/OeVavPeDEv3a7yrIjvkA/axxAF8ySO0nZ1BSyrV5XiOYHX36GlsxgNZn5J1uwm/1CU lrlu3ztuK8MLqg4zrqQeI0QFvtyMW3nqi1lFG5Jo8I+h8CQnAFCGhv00LrFMCSEtTpTvSQ 64o44uiQHfK5YSgyhc2b6fK/AbWL8OnFbgx8xM/FvUg9rTkD4GIIOaGE2NKlqQ== ARC-Authentication-Results: i=1; rspamd-6f569fcb69-24l7r; auth=pass smtp.auth=dreamhost smtp.mailfrom=siddhesh@gotplt.org X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|siddhesh@gotplt.org X-MailChannels-Auth-Id: dreamhost X-Bitter-Sponge: 0d3c7d9136d3fabf_1674492142042_1586187272 X-MC-Loop-Signature: 1674492142042:176992974 X-MC-Ingress-Time: 1674492142042 Received: from pdx1-sub0-mail-a306.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.109.196.205 (trex/6.7.1); Mon, 23 Jan 2023 16:42:22 +0000 Received: from [192.168.0.182] (bras-base-toroon4834w-grc-23-76-68-24-147.dsl.bell.ca [76.68.24.147]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: siddhesh@gotplt.org) by pdx1-sub0-mail-a306.dreamhost.com (Postfix) with ESMTPSA id 4P0wqw3cLnzH9; Mon, 23 Jan 2023 08:42:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gotplt.org; s=dreamhost; t=1674492140; bh=IcM2Lv+ajJQ8EB8AvOCPJI/r2k13w+IJBLFbz83DiWk=; h=Date:Subject:To:From:Content-Type:Content-Transfer-Encoding; b=IxL4laI3jZ7so5e+No1ZheBPSqV0DbIaOeAkCeMKrgDBHvMPBP8rN9nFiKNSS0OD/ Qs2C0ME5szER2i0PSAoEgratYREpT78Xj1LFiccSSkmdXA+JPViLFxfELWKiv1Hq/y pOKBfR8QfBpp9ro9gu3T7cH0vmCoMWBTXu9V6Hh5i8ewdIVgoYCXuO4cg5PMR2ECZf /dmL59n6zy1NZtgAbOpr9nENpbgOgxnEyvfVORLPLPxSqaU4+NLdMhbY7lNrTTgUyr 3IHXbBxUfDl35njJ/P+FDf/U9qcUBSa+46RBp5eVLUQzdSTkfJJU/vVEc++63L4Axm cdB6g85hnXS8A== Message-ID: <129eebb5-6a60-5ab1-9e95-6c35b61111cc@gotplt.org> Date: Mon, 23 Jan 2023 11:42:19 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [patch] Document '%F' format specifier Content-Language: en-US To: Paul Pluzhnikov , GLIBC Devel References: From: Siddhesh Poyarekar In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3031.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP 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 2023-01-18 21:43, Paul Pluzhnikov via Libc-alpha wrote: > The '%F' specifier was implemented in commit 6c46718f9f0 on > 2000-08-23, but remains undocumented in the manual. > https://stackoverflow.com/questions/75157669/format-specifier-f-missing-from-glibcs-documentation > > Fix that. > The patch fails to apply on master. Also, the specifier needs to be mentioned in the Floating-Point Conversions section alongside %f wherever applicable. Other than the first line that mentions all format specifiers, there are lines like: The @samp{%g} and @samp{%G} conversions print the argument in the style of @samp{%e} or @samp{%E} (respectively) if the exponent would be less than -4 or greater than or equal to the precision; otherwise they use the @samp{%f} style. where I think mentioning @samp{%F} would be useful. i.e. wherever the lower and upper options are mention together, do the same for %f too. Please also review other sections in stdio.texi that mention %f and add %F wherever applicable, e.g. input conversions. Thanks, Sid