bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: test-float fails on ppc64 because DBL_MIN_EXP < LDBL_MIN_EXP


From: Jim Meyering
Subject: Re: test-float fails on ppc64 because DBL_MIN_EXP < LDBL_MIN_EXP
Date: Wed, 31 Aug 2011 22:18:46 +0200

Pádraig Brady wrote:

> On 08/31/2011 04:48 PM, Jim Meyering wrote:
>> The test-float test is failing on ppc64 with:
>>
>>     gcc version 4.4.4 20100630 (Red Hat 4.4.4-10) (GCC)
>>     (albeit an aging Fedora 12 system)
>>
>> due to the failure of this assertion:
>>
>>     ASSERT (LDBL_MIN_EXP <= DBL_MIN_EXP);
>>
>> It fails because of these numbers:
>>
>>     $ :|gcc -dD -E -include stddef.h -|grep -E 'L?DBL_MIN_EXP'
>>     #define __DBL_MIN_EXP__ (-1021)
>>     #define __LDBL_MIN_EXP__ (-968)
>>
>> I propose to comment out that test for now, just prior
>> to the coreutils-8.13 pre-release snapshot.
>
> Looks good. That surprising behavior caught me out in coreutils too:
> http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=766ec503

Thanks for the review and for digging that up.
I knew it rang a bell ;-)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]