BSD Ports

math/p5-Number-WithError 1.01_1 FreeBSD

Numbers with error propagation and scientific rounding

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
math, perl5
Package size
20.9 KiB, 51.8 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
FreeBSDmath/p5-Number-WithError1.01_1
OpenBSDmath/p5-Number-WithError1.01p1
NetBSDmath/p5-Number-WithError1.01nb9
DragonFlymath/p5-Number-WithError1.01_1
MidnightBSDmath/p5-Number-WithError1.01_1

Install

Binary package:

pkg install p5-Number-WithError

From the ports tree:

cd /usr/ports/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

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.01_11.01_11.01_11.01_11.01_1
FreeBSD:14:quarterly1.01_11.01_1n/a1.01_11.01_1
FreeBSD:15:latest1.01_11.01_1n/a1.01_11.01_1
FreeBSD:15:quarterly1.01_11.01_1n/an/an/a
FreeBSD:16:latest1.01_11.01_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

Test 1

The full lists below include those, and their dependencies in turn.

Build dependencies 3
Run dependencies 3

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

Commit history 0

No commits in the history this site was built from.