From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4418 invoked by alias); 6 Jun 2007 13:28:56 -0000 Received: (qmail 4402 invoked by uid 22791); 6 Jun 2007 13:28:55 -0000 X-Spam-Check-By: sourceware.org Received: from e5.ny.us.ibm.com (HELO e5.ny.us.ibm.com) (32.97.182.145) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 06 Jun 2007 13:28:53 +0000 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e5.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id l56DSphx015231 for ; Wed, 6 Jun 2007 09:28:51 -0400 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v8.3) with ESMTP id l56DSpe9544574 for ; Wed, 6 Jun 2007 09:28:51 -0400 Received: from d01av02.pok.ibm.com (loopback [127.0.0.1]) by d01av02.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id l56DSotb024410 for ; Wed, 6 Jun 2007 09:28:51 -0400 Received: from [9.10.86.122] (spokane1.rchland.ibm.com [9.10.86.122]) by d01av02.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id l56DSo7r024383; Wed, 6 Jun 2007 09:28:50 -0400 Message-ID: <4666BB22.70209@us.ibm.com> Date: Wed, 06 Jun 2007 13:28:00 -0000 From: Steven Munroe User-Agent: Mozilla/5.0 (X11; U; Linux ppc64; en-US; rv:1.8.0.10) Gecko/20070301 SUSE/1.8_seamonkey_1.0.8-0.1 SeaMonkey/1.0.8 MIME-Version: 1.0 To: Jakub Jelinek CC: Ulrich Drepper , Glibc hackers , Ryan Arnold Subject: Re: [PATCH] Fix *printf %La with IBM long double format References: <20070604130209.GM3081@sunsite.mff.cuni.cz> In-Reply-To: <20070604130209.GM3081@sunsite.mff.cuni.cz> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact libc-hacker-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sourceware.org X-SW-Source: 2007-06/txt/msg00005.txt.bz2 Jakub Jelinek wrote: > Hi! > > As the attached testcase shows, printf_fphex for ldbl-128ibm > has a bunch of issues when the lower double is denormal or has exponent 1. > E.g. the implicit mantissa bit needs to be also set for exponent 1, > the difference between exponents might be smaller than 53 (when the > smaller double is denormal and the bigger double has exponent less than > 53, etc. > > I spotted this while debugging nextafterl and put it on the list for Ryan to look at. But you got there first Unfortunately I have been busy with POWER6 perf tuning issues... > I've also included the unrelated workaround for test-misc.c failures > - the tests from 2007-05-03 aren't really testable on ppc/ppc64. > Thanks!