Re: Puzzling error from cpan testers

2009-05-06 Thread David Cantrell
On Tue, May 05, 2009 at 03:05:49PM -0400, David Golden wrote: > Yikes. You must have missed Test::Number::Delta ... Harr! That'll teach me to read the whole thread before replying! -- David Cantrell | Enforcer, South London Linguistic Massive Irregular English: you have anecdotes; they

Re: Puzzling error from cpan testers

2009-05-05 Thread Jonathan Leto
Howdy, > Yikes.  You must have missed Test::Number::Delta when you were writing > that.  On CPAN since 2005.  I originally called it Test::Float and got > argued into a proper hierarchical name, which is probably why no one > seems to know it exists.   Synopsis: No, I saw your module, but I neede

Re: Puzzling error from cpan testers

2009-05-05 Thread Bill Ward
Thanks David. This is a nice module, but overkill for my needs and I'd rather not make people install more CPAN modules than they have to. Looks like the key thing is this line: $ok = abs($p - $q) < $epsilon; I'll incorporate that bit into my test suite for Number::Format. On Tue, May

Re: Puzzling error from cpan testers

2009-05-05 Thread David Golden
On Tue, May 5, 2009 at 2:58 PM, Jonathan Leto wrote: > I very much recommend that you look at is_similar() in > Math::GSL::Test, it has implemented at least a > few wheels that you are destined to want: Yikes. You must have missed Test::Number::Delta when you were writing that. On CPAN since 20

Re: Puzzling error from cpan testers

2009-05-05 Thread Jonathan Leto
Howdy, >> It may work, or it may not.  If it "works" - in the sense of making the >> test failure go away - then I would expect it to bite someone later when >> they just happen to hit upon a number where the floating point rounding >> error goes the other way. >> >> Check that it's in an acceptab

Re: Puzzling error from cpan testers

2009-05-05 Thread Bill Ward
On Tue, May 5, 2009 at 6:02 AM, David Cantrell wrote: > On Sun, May 03, 2009 at 12:23:27PM -0700, Bill Ward wrote: > > On Sun, May 3, 2009 at 12:18 PM, Andy Armstrong wrote: > > > On 3 May 2009, at 20:07, Bill Ward wrote: > > >> For my module Number::Format I am getting a strange result from cpan

Re: Puzzling error from cpan testers

2009-05-05 Thread David Cantrell
On Sun, May 03, 2009 at 12:23:27PM -0700, Bill Ward wrote: > On Sun, May 3, 2009 at 12:18 PM, Andy Armstrong wrote: > > On 3 May 2009, at 20:07, Bill Ward wrote: > >> For my module Number::Format I am getting a strange result from cpan > >> testers that I can't replicate. See this error report...

Re: Puzzling error from cpan testers

2009-05-03 Thread David Golden
On Sun, May 3, 2009 at 3:07 PM, Bill Ward wrote: > For my module Number::Format I am getting a strange result from cpan > testers that I can't replicate. See this error report... > http://www.nntp.perl.org/group/perl.cpan.testers/2009/03/msg3560533.html > > # Failed test 'pi with precision=6'

Re: Puzzling error from cpan testers

2009-05-03 Thread Bill Ward
On Sun, May 3, 2009 at 12:18 PM, Andy Armstrong wrote: > On 3 May 2009, at 20:07, Bill Ward wrote: > >> For my module Number::Format I am getting a strange result from cpan >> testers that I can't replicate. See this error report... >> http://www.nntp.perl.org/group/perl.cpan.testers/2009/03/msg

Re: Puzzling error from cpan testers

2009-05-03 Thread Andy Armstrong
On 3 May 2009, at 20:07, Bill Ward wrote: For my module Number::Format I am getting a strange result from cpan testers that I can't replicate. See this error report... http://www.nntp.perl.org/group/perl.cpan.testers/2009/03/msg3560533.html # Failed test 'pi with precision=6' # at t/round

Puzzling error from cpan testers

2009-05-03 Thread Bill Ward
For my module Number::Format I am getting a strange result from cpan testers that I can't replicate. See this error report... http://www.nntp.perl.org/group/perl.cpan.testers/2009/03/msg3560533.html # Failed test 'pi with precision=6' # at t/round.t line 18. # got: 3.141593 # exp