2016-05-19 12:44:11 +02:00
|
|
|
This class is a container class for numbers with a number of associated
|
|
|
|
symmetric and asymmetric errors. It overloads practically all common
|
|
|
|
arithmetic operations and trigonometric functions to propagate the errors.
|
|
|
|
It can do proper scientific rounding (as explained in more detail below in
|
2006-05-15 18:15:33 +02:00
|
|
|
the documentation of the significant_digit() method).
|
|
|
|
|
2016-05-19 12:44:11 +02:00
|
|
|
You can use Math::BigFloat objects as the internal representation of
|
2006-05-15 18:15:33 +02:00
|
|
|
numbers in order to support arbitrary precision calculations.
|
|
|
|
|
|
|
|
Errors are propagated using Gaussian error propagation.
|
|
|
|
|
2016-05-19 12:44:11 +02:00
|
|
|
With a notable exception, the test suite covers way over ninety percent of
|
|
|
|
the code. The remaining holes are mostly difficult-to-test corner cases
|
|
|
|
and sanity tests. The comparison routines are the exception for which
|
2006-05-15 18:15:33 +02:00
|
|
|
there will be more extensive tests in a future release.
|
|
|
|
|
2018-05-27 22:15:16 +02:00
|
|
|
WWW: https://metacpan.org/release/Number-WithError
|