From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3135 invoked by alias); 30 Jun 2014 18:18:44 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 3069 invoked by uid 48); 30 Jun 2014 18:18:40 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/11475] support for printing/reading decimal numbers (_Decimal64) Date: Mon, 30 Jun 2014 18:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: drepper.fsp at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-06/txt/msg02273.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=11475 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |security- --- Comment #9 from joseph at codesourcery dot com --- Subject: Re: support for printing/reading decimal numbers (_Decimal64) On Wed, 28 Apr 2010, zimmerma+gcc at loria dot fr wrote: > ------- Additional Comments From zimmerma+gcc at loria dot fr 2010-04-28 08:15 ------- > (In reply to comment #6) > > This is what the printf hooks are for. I'm not going to add any such > > non-standard conversion. It far too dangerous a compability risk going forward. > > Dear Ulrich, please can you explain why this is "non-standard". With respect to > which standard? Is _Decimal64 standard? A Technical Report Type 2 (such as TR 24732) is not a standard or an amendment to a standard. > Also, if someone provides changes to scanf/printf based on functions already > existing in libbid or libdecnumber (currently used internally by gcc) for > conversions between strings and decimal formats, would them be included in glibc? The functionality is in the libfdp add-on. This is an example of what the add-on mechanism is for; it doesn't need to be in the core libc. (I imagine the libdfp people will propose a scanf hook facility at some point to allow that part to be fully implemented in an add-on. One remaining DFP requirement relates to the predefined macro __STDC_DEC_FP__ but unfortunately my proposal for a change which would also allow that to be handled entirely within the add-on has stalled; see bug 10110.) -- You are receiving this mail because: You are on the CC list for the bug.