perl-test-number-delta
Compare the difference between numbers against a given tolerance
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
.
- Versions: 1.06
- Website: https://metacpan.org/release/Test-Number-Delta
- Licenses: ASL 2.0
- Package source: gnu/packages/perl-check.scm
- Builds: See build status
- Issues: See known issues
Installation
Install the latest version of perl-test-number-delta
as follows:
guix install perl-test-number-delta
Or install a particular version:
guix install perl-test-number-delta@1.06
You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell
documentation for more information.
Badge code
You can use the following badge to inform users of perl-test-number-delta about the latest version available in Guix.
Example HTML:
<a href='https://packages.guix.gnu.org/packages/perl-test-number-delta'><img src='https://packages.guix.gnu.org/packages/perl-test-number-delta/badges/latest-version.svg' alt='Version in GNU Guix'></a>
Example Markdown:
[](https://packages.guix.gnu.org/packages/perl-test-number-delta)
Example Org:
[[https://packages.guix.gnu.org/packages/perl-test-number-delta][https://packages.guix.gnu.org/packages/perl-test-number-delta/badges/latest-version.svg]]