BSD Ports

math/p5-Math-Random-ISAAC 1.004_2 FreeBSD

Perl interface to the ISAAC PRNG Algorithm

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Categories
math, perl5
Package size
13.6 KiB, 24.2 KiB installed

Description

As with other Pseudo-Random Number Generator (PRNG) algorithms like the Mersenne Twister (see Math::Random::MT), this algorithm is designed to take some seed information and produce seemingly random results as output.

However, ISAAC (Indirection, Shift, Accumulate, Add, and Count) has different goals than these commonly used algorithms. In particular, it's really fast - on average, it requires only 18.75 machine cycles to generate a 32-bit value. This makes it suitable for applications where a significant amount of random data needs to be produced quickly, such solving using the Monte Carlo method or for games.

In the other systems

SystemPortVersion
FreeBSDmath/p5-Math-Random-ISAAC1.004_2
OpenBSDmath/p5-Math-Random-ISAAC1.004p1
NetBSDmath/p5-Math-Random-ISAAC1.004nb13
DragonFlymath/p5-Math-Random-ISAAC1.004_2
MidnightBSDmath/p5-Math-Random-ISAAC1.004_2

Install

Binary package:

pkg install p5-Math-Random-ISAAC

From the ports tree:

cd /usr/ports/math/p5-Math-Random-ISAAC/ && make install clean

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

RUN_DEPENDS=	p5-Math-Random-ISAAC>0:math/p5-Math-Random-ISAAC

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.004_21.004_21.004_21.004_21.004_2
FreeBSD:14:quarterly1.004_21.004_2n/a1.004_21.004_2
FreeBSD:15:latest1.004_21.004_2n/a1.004_21.004_2
FreeBSD:15:quarterly1.004_21.004_2n/an/an/a
FreeBSD:16:latest1.004_21.004_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Test 1

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

Build dependencies 2
Run dependencies 2

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 4
  • %%SITE_PERL%%/Math/Random/ISAAC/PP.pm
  • %%SITE_PERL%%/Math/Random/ISAAC.pm
  • %%PERL5_MAN3%%/Math::Random::ISAAC::PP.3.gz
  • %%PERL5_MAN3%%/Math::Random::ISAAC.3.gz
distinfo 1
FileSizeSHA256
Math-Random-ISAAC-1.004.tar.gz344452773f02fbf207e9745e76a037df08bf5a8cc987ed23c57040ce7f7b1561f2b7c
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.