Upstream software project

perl-Test-Number-Delta

Compare the difference between numbers against a given tolerance

About perl-Test-Number-Delta

Compare the difference between numbers against a given tolerance

This project links 3 native package records across 3 recorded operating-system releases. Compare the retained versions and architectures below, then open the package for your own release.

These are catalog observations, not a guarantee of installation, compatibility, or upstream support.

Project pictures and package coverage

openSUSE Leap 15.6: 1 package records; openSUSE Leap 16.0: 1 package records; openSUSE Tumbleweed: 1 package records. Catalog coverage diagram, not an application screenshot.perl-Test-Number-Delta: recorded package coverageopenSUSE Leap 15.61 recordsopenSUSE Leap 16.01 recordsopenSUSE Tumbleweed1 records
OpenFactory diagram of linked package records. It is not an application screenshot.

Project identity

Project
perl-Test-Number-Delta
Publisher
Not authoritatively mapped
Native package records
3
Operating systems
opensuse-leap-15-6, opensuse-leap-16-0, opensuse-tumbleweed
License expression
Apache-2.0
Source repository
Not reported

Source-reported description

The fullest retained description is shown with its source. Distribution packaging descriptions may include downstream details.

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 the Test::More manpage. Usage is similar to other test functions described in the Test::More manpage. 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).

Description source

Packages by operating system

Compare recorded versions, then open a package for dependency, file, checksum, and repository evidence. Version strings are distribution-specific, not a ranking of newer software.

openSUSE Leap 15.6

  1. Package perl-Test-Number-Delta

    leap-15.6 (openSUSE Leap 15.6) (Development/Libraries/Perl): Compare the difference between numbers against a given tolerance

    1.060000-bp156.3.1: noarch

    Source: perl-Test-Number-Delta

openSUSE Leap 16.0

  1. Package perl-Test-Number-Delta

    leap-16.0 (openSUSE Leap 16.0) (Development/Libraries/Perl): Compare the difference between numbers against a given tolerance

    1.060000-bp160.1.4: noarch

    Source: perl-Test-Number-Delta

openSUSE Tumbleweed

  1. Package perl-Test-Number-Delta

    tumbleweed (openSUSE Tumbleweed) (Development/Libraries/Perl): Compare the difference between numbers against a given tolerance

    1.060000-1.37: noarch

    Source: perl-Test-Number-Delta

Project resources and further reading

Mapping provenance

Only source-backed identity signals create public cross-OS links. A reviewer can later approve or dispute an inferred relationship without rewriting native package history.

No field-level source record is published yet.