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
On Tue, May 5, 2009 at 6:02 AM, David Cantrell da...@cantrell.org.ukwrote:
On Sun, May 03, 2009 at 12:23:27PM -0700, Bill Ward wrote:
On Sun, May 3, 2009 at 12:18 PM, Andy Armstrong a...@hexten.net wrote:
On 3 May 2009, at 20:07, Bill Ward wrote:
For my module Number::Format I am getting
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 acceptable range.
I
On Tue, May 5, 2009 at 2:58 PM, Jonathan Leto jal...@gmail.com 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
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
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 needed
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
#
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
On Sun, May 3, 2009 at 12:18 PM, Andy Armstrong a...@hexten.net 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...
On Sun, May 3, 2009 at 3:07 PM, Bill Ward b...@wards.net 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
10 matches
Mail list logo