SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Test-Number-Delta rpm build for : OpenSuSE. For other distributions click perl-Test-Number-Delta.

Name : perl-Test-Number-Delta
Version : 1.060000 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : lp154.1.1 Date : 2023-01-27 16:50:35
Group : Development/Libraries/Perl Source RPM : perl-Test-Number-Delta-1.060000-lp154.1.1.src.rpm
Size : 0.05 MB
Packager : https://www_suse_com/
Summary : Compare the difference between numbers against a given tolerance
Description :
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::More. Usage is similar to other test functions described in
Test::More. Semantically, the \'delta_within\' function replaces this kind of
construct:

ok ( abs($p - $q) < $epsilon, \'$p is equal to $q\' ) or
diag \"$p is not equal to $q to within $epsilon\";

While there\'s nothing wrong with that construct, it\'s painful to type it
repeatedly in a test script. This module does the same thing with a single
function call. The \'delta_ok\' function is similar, but either uses a global
default value for epsilon or else calculates a \'relative\' epsilon on the
fly so that epsilon is scaled automatically to the size of the arguments to
\'delta_ok\'. Both functions are exported automatically.

Because checking floating-point equality is not always reliable, it is not
possible to check the \'equal to\' boundary of \'less than or equal to
epsilon\'. Therefore, Test::Number::Delta only compares if the absolute
value of the difference is *less than* epsilon (for equality tests) or
*greater than* epsilon (for inequality tests).

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-T/15.4/noarch

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-Test-Number-Delta-1.060000-lp154.1.1.noarch.rpm
     

Provides :
perl(Test::Number::Delta)
perl(Test::Number::Delta)
perl-Test-Number-Delta

Requires :
perl(:MODULE_COMPAT_5.26.1)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/Test
/usr/lib/perl5/vendor_perl/5.26.1/Test/Number
/usr/lib/perl5/vendor_perl/5.26.1/Test/Number/Delta.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-Test-Number-Delta
/usr/share/doc/packages/perl-Test-Number-Delta/CONTRIBUTING.mkdn
/usr/share/doc/packages/perl-Test-Number-Delta/Changes
/usr/share/doc/packages/perl-Test-Number-Delta/README
/usr/share/licenses/perl-Test-Number-Delta
/usr/share/licenses/perl-Test-Number-Delta/LICENSE
/usr/share/man/man3/Test::Number::Delta.3pm.gz

 
ICM