Package perl-Test-Number-Delta: Information
Source package: perl-Test-Number-Delta
Version: 1.03-alt1
Build time: Jun 18, 2007, 07:35 AM
Category: Development/Perl
Report package bugLicense: GPL or Artistic
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 functions (delta_within and delta_ok) for use with Test::Harness. Usage is similar to other test functions described in Test::More.
Maintainer: Alexey Tourbin