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

2011-11-29 Thread Bruno Haible
Paolo Bonzini wrote: > > 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_EX

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

2011-11-29 Thread Paolo Bonzini
On 08/31/2011 05: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

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

2011-08-31 Thread Jim Meyering
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 <=

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

2011-08-31 Thread Jim Meyering
Bruno Haible wrote: > Jim Meyering wrote: >> I propose to comment out that test for now, just prior >> to the coreutils-8.13 pre-release snapshot. > > But you are not done with commenting out the assertion. > > The programs 'printf', 'seq', and 'sort' assume that a 'double' number > can be lossles

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

2011-08-31 Thread Bruno Haible
Jim Meyering wrote: > I propose to comment out that test for now, just prior > to the coreutils-8.13 pre-release snapshot. But you are not done with commenting out the assertion. The programs 'printf', 'seq', and 'sort' assume that a 'double' number can be losslessly converted to a 'long double'.

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

2011-08-31 Thread Pádraig Brady
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 b

test-float fails on ppc64 because DBL_MIN_EXP < LDBL_MIN_EXP

2011-08-31 Thread Jim Meyering
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 -