mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 09:48:00 -04:00
9 lines
327 B
Plaintext
9 lines
327 B
Plaintext
Number::Tolerant creates a number-like object whose value refers to a
|
|
range of possible values, each equally acceptable. It overloads
|
|
comparison operations to reflect this.
|
|
|
|
I use this module to simplify the comparison of measurement results to
|
|
specified tolerances.
|
|
|
|
reject $product unless $measurement == $specification;
|