BSD Ports

math/p5-Number-WithError 1.01_1 MidnightBSD

Numbers with error propagation and scientific rounding

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic, gpl+
Categories
math, perl5

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
MidnightBSDmath/p5-Number-WithError1.01_1
FreeBSDmath/p5-Number-WithError1.01_1
OpenBSDmath/p5-Number-WithError1.01p1
NetBSDmath/p5-Number-WithError1.01nb9
DragonFlymath/p5-Number-WithError1.01_1
HardenedBSDmath/p5-Number-WithError1.01_1
GhostBSDmath/p5-Number-WithError1.01_1

Install

Binary package:

mport install p5-Number-WithError

From mports:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Number-WithError>0:math/p5-Number-WithError

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

Test 1

Build dependencies 2
Run dependencies 2
Required by 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Number/WithError.pm
  • %%PERL5_MAN3%%/Number::WithError.3.gz
distinfo 1
FileSizeSHA256
Number-WithError-1.01.tar.gz38949dff6a0727e7844ea67837bdfadd552b86f6b216d18ee8ee46842b22ccef0f554
Master sites 1
  • CPAN