From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from second.openwall.net (second.openwall.net [193.110.157.125]) by inbox.vuxu.org (Postfix) with SMTP id D6CE128E24 for ; Wed, 12 Jun 2024 20:56:43 +0200 (CEST) Received: (qmail 28347 invoked by uid 550); 12 Jun 2024 18:56:38 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 28315 invoked from network); 12 Jun 2024 18:56:38 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1718218589; x=1718823389; i=nullplan@gmx.net; bh=ciQPXh1coyDPFddA0FdzYK43Y81YTfI89+NVRhGzesQ=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:In-Reply-To:Content-Transfer-Encoding: cc:content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=Cww8YJ4jjB82hqIsGMbrSwfQ2+K1ROppfJNsVmX8GR+PDZEv+bG6SWHhAoAdRoqc nRUdmZ9upSEKoKlPV0/C3RXWgslw7s9TogssoQmKzRQGggULFsFmrjLmQZtm9p/hA JM0DxHyEmBEmanT/mL0TqCFjdgCbyP+v02LlUWJ1YqtHwkEk/k9rN5KNaZjMb/EbS lLvDw1bPogia3QEjivNkK1CXC83gV5HeaWUyQx6aRt+FUgVfy+ZFipCzCYqtPf0Q/ PAlylkkme973BZuZXz4JgXHZOmRHb7tWVySfgIQ+xFxvASgIROg3W3+h/I6UB7zys zFEKjnmpUpovbKys0A== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Date: Wed, 12 Jun 2024 20:56:27 +0200 From: Markus Wichmann To: musl@lists.openwall.com Cc: "Ram Nalamothu (QUIC)" Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Provags-ID: V03:K1:95dPWLjqYJCk/HDBauulOJCiWqGbjKgdiic05e6X9MXr8XyMtbh gwtK7FJb3h3l0ke29AdwUdcF0eoxpjWUPcKCJPIHT3cUtuCO9uussETGG7nCYJu7dkV1+zh urm7+zohXJVZAF/9YOxe6UId3VHIaTT4EHGg91bt77I11McffzlVSNI6vkNAbAzsYe2Eia0 7+X7tmvNk7F6W1J3Q5QJw== UI-OutboundReport: notjunk:1;M01:P0:BfmA6mK2moQ=;p6LZkK78qgAQocPWzahg2BiMYRz Z/32GzWDlDJsJzYybyQ2KeN2AeNmy3Mkdvt+eZFOi0CyJdpErIIvsUpsUfcuyBFh4SMStDQLT bCMk6GbnYBWADUGlbnLsJUG1MuVmYemt1zw39hEXFQ3KGEpalkswB7ljkv3s706h+CcqvcXEG W0lZSDQOg5q1sTl98fi0A4+zxbsTRXhbsJ65FFJJOJcnD3TrWsDx1d8S/P5lLuaRxpcKrnMxN n05fQlV7WMXqB4JFnX44y/AMK0reP1Xyt/A2yQ0X2Psojtkj10qERgFBXK2Y6p5zoQu/TwPTz yKDNhMSWa9X1aLHeGmoxOA6eNgUBsGBYSLBRJyB3WGtkfKjMS7KcS5R5/GLNaA3HyyPEKY3oX xogoQ9aKdpnt0jQVd7RNHHsUOmBygeZWPVEmHJwzvltVQur3wH2qqnZe3s7EUbo5ltpYKhdil U+dGH9MEEU2uBgup+BL+UDJxMsW7QLt1Dg88G6QaJorIXzT1j/qWNmre4yeSDhOghLBI/rN5v 12oiMbsIC0DWAcsH3l7zbO/j6K2abUdig4ZK4tIZyeFhIH2Nnb7Ik74hAIILT/C5QE9dMWQ5k mz52v10ORCCtYlslVz8v4/LCHi/AZhwQWY9bC8h5f3rYZNTUBslcTH8eGrUmcIYP0cTgiwgpT NcjeqTKAkEZCA8/XY3QWzIIx7W/9KjEgUylv79EXUwk66Hr34OAbo3LQl+Qwup48OPqMAVQ2Y SBMf65FYCJfNnqwFiuw7Nwx9mtfcXldBvuxdqVW+4iYw8Wy4ZwrncKqlJCctVij2Ben3Nwca/ DW9f6ijMhSJ+A9a3ykdSYRL8Gce59ObIFpreW5/p4M7p4= Content-Transfer-Encoding: quoted-printable Subject: Re: [musl] Integer only print functions support in MUSL Am Wed, Jun 12, 2024 at 05:29:59PM +0000 schrieb Ram Nalamothu (QUIC): > Hi, > > On the subject line topic, is there a plan for integer only print functi= ons support in MUSL upstream? > > The newlib seems to support the same since 2004 [1] and one immediate sc= enario using this capability is assert function [2] in the C library itsel= f which needs to print only the non-float types. > > Applications that use integer only print functions can benefit from this= capability in terms of reduced code size by avoiding floating point suppo= rt implementation in the linked print functions. > > I tried a quick search on the mailing list but couldn't find any previou= s discussions on this topic. > Would it make sense to have the similar support in MUSL as well? Would t= he community be open to accept patches supporting integer only print funct= ions? > > Regards, > Ram > > [1] https://sourceware.org/legacy-ml/newlib/2004/msg00577.html > [2] https://sourceware.org/git/?p=3Dnewlib-cygwin.git;a=3Dblob;f=3Dnewli= b/libc/stdlib/assert.c#l58 Standard criteria for inclusion in musl have always been any kind of standardization effort at all. Otherwise there is a risk of future incompatible standardization. And iprintf() seems to be a newlib exclusive; I cannot find any reference to this function outside of it. Ciao, Markus