This package browser is in early development. Mind the rough edges.

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.

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.