Compare the difference between numbers against a given tolerance
http://search.cpan.org/dist/Test-Number-Delta/
At some point or another, most programmers find they need to compare
floating-point numbers for equality. The typical idiom is to test if the
absolute value of the difference of the numbers is within a desired tolerance,
usually called epsilon. This module provides such a function for use with
Test::Harness. Usage is similar to other test functions described in
Test::More.
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Leap:42.1/perl-Test-Number-Delta && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
Test-Number-Delta-1.06.tar.gz | 0000021077 20.6 KB | |
cpanspec.yml | 0000000469 469 Bytes | |
perl-Test-Number-Delta.changes | 0000001700 1.66 KB | |
perl-Test-Number-Delta.spec | 0000003101 3.03 KB |
Comments 0