BSD Ports

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

Perl interface to the ISAAC PRNG Algorithm

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

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
MidnightBSDmath/p5-Math-Random-ISAAC1.004_2
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

Install

Binary package:

mport install p5-Math-Random-ISAAC

From mports:

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

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Test 1

Build dependencies 1
Run dependencies 1
Required by 1

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