From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1619 invoked by alias); 18 Feb 2007 20:26:00 -0000 Received: (qmail 1611 invoked by uid 22791); 18 Feb 2007 20:25:59 -0000 X-Spam-Check-By: sourceware.org Received: from heller.inter.net.il (HELO heller.inter.net.il) (213.8.233.23) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 18 Feb 2007 20:25:54 +0000 Received: from HOME-C4E4A596F7 (IGLD-80-230-15-157.inter.net.il [80.230.15.157]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id BXB23971 (AUTH halo1); Sun, 18 Feb 2007 22:25:44 +0200 (IST) Date: Sun, 18 Feb 2007 20:26:00 -0000 Message-Id: From: Eli Zaretskii To: Jan Kratochvil CC: gdb-patches@sourceware.org In-reply-to: <20070218153705.GA25940@host0.dyn.jankratochvil.net> (message from Jan Kratochvil on Sun, 18 Feb 2007 16:37:06 +0100) Subject: Re: [RFC] print/x of a float/double should printf ("%a") Reply-to: Eli Zaretskii References: <20070218153705.GA25940@host0.dyn.jankratochvil.net> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-02/txt/msg00227.txt.bz2 > Date: Sun, 18 Feb 2007 16:37:06 +0100 > From: Jan Kratochvil > > currently "print/x (float) a" does an integer "print/x (long) a". > > Ulrich Drepper requested to use instead printf ("%a") (man excerpt below): Thanks. Two comments: . Please submit an appropriate change for the manual. . I don't like this bit: > Systems not supporting "%a" will print the value as > print (float) a > which differs from the current way there: > print/x (long) a This makes this an incompatible change. For this reason, I'd prefer a new format letter, like Andreas suggested.