mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-29 13:00:32 +01:00
bfd22dba27
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
10 lines
472 B
Text
10 lines
472 B
Text
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::Harness.
|
|
Usage is similar to other test functions described in Test::More.
|