Skip Menu |

This queue is for tickets about the Number-Format CPAN distribution.

Report information
The Basics
Id: 43351
Status: resolved
Priority: 0/
Queue: Number-Format

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.70
Fixed in: (no value)



Subject: Weird tes failure with -Duselongdouble perls
I just verified it on my own 64 bit system with -Duselongdouble after I had discovered the same thing on cpan testers, like in http://www.nntp.perl.org/group/perl.cpan.testers/2009/02/msg3306799.html The test output looks really irritating and I hope you know what's going on because I do not: t/round.............. # Failed test 'pi with precision=6' # at t/round.t line 18. # got: 3.141593 # expected: 3.141593 # Failed test 'precision=-2' # at t/round.t line 24. # got: 123500 # expected: 123500 # Looks like you failed 2 tests of 16. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/16 subtests Regards,
Subject: Weird test failure with -Duselongdouble perls
I think 1.71 fixes this issue by using eq instead of == for the comparisons in round.t On Tue Feb 17 02:52:01 2009, ANDK wrote: Show quoted text
> I just verified it on my own 64 bit system with -Duselongdouble after I > had discovered the same thing on cpan testers, like in > > http://www.nntp.perl.org/group/perl.cpan.testers/2009/02/msg3306799.html > > The test output looks really irritating and I hope you know what's going > on because I do not: > > t/round.............. > # Failed test 'pi with precision=6' > # at t/round.t line 18. > # got: 3.141593 > # expected: 3.141593 > > # Failed test 'precision=-2' > # at t/round.t line 24. > # got: 123500 > # expected: 123500 > # Looks like you failed 2 tests of 16. > Dubious, test returned 2 (wstat 512, 0x200) > Failed 2/16 subtests > > > > Regards,