BSD Ports

math/p5-Number-WithError 1.01_1 DragonFly

Numbers with error propagation and scientific rounding

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
math, perl5
Package size
20.2 KiB, 52.0 KiB installed

Description

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 the documentation of the significant_digit() method).

You can use Math::BigFloat objects as the internal representation of numbers in order to support arbitrary precision calculations.

Errors are propagated using Gaussian error propagation.

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 there will be more extensive tests in a future release.

In the other systems

SystemPortVersion
DragonFlymath/p5-Number-WithError1.01_1
FreeBSDmath/p5-Number-WithError1.01_1
OpenBSDmath/p5-Number-WithError1.01p1
NetBSDmath/p5-Number-WithError1.01nb9
MidnightBSDmath/p5-Number-WithError1.01_1

Install

Binary package:

pkg install p5-Number-WithError

From DPorts:

cd /usr/dports/math/p5-Number-WithError && make install clean

Dependencies

Run dependencies 3