FreeBSD Ports

math/p5-Math-Random-ISAAC-XS 1.004_3

C implementation of the ISAAC PRNG Algorithm

Repository
FreeBSD ports
Maintainer
[email protected]
License
PD, MIT, ART10, ART20, GPLv1+
Categories
math, perl5
Package size
23.5 KiB, 247.3 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.

Install

As a binary package — by origin, or by package name:

pkg install math/p5-Math-Random-ISAAC-XS
pkg install p5-Math-Random-ISAAC-XS

From the ports tree:

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

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

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

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_31.004_31.004_31.004_31.004_3
FreeBSD:14:quarterly1.004_31.004_3n/a1.004_31.004_3
FreeBSD:15:latest1.004_31.004_3n/a1.004_31.004_3
FreeBSD:15:quarterly1.004_31.004_3n/an/an/a
FreeBSD:16:latest1.004_31.004_3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Test 1

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

All build dependencies 2
All run dependencies 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 3
  • %%SITE_ARCH%%/Math/Random/ISAAC/XS.pm
  • %%SITE_ARCH%%/auto/Math/Random/ISAAC/XS/XS.so
  • %%PERL5_MAN3%%/Math::Random::ISAAC::XS.3.gz
distinfo 1
FileSizeSHA256
Math-Random-ISAAC-XS-1.004.tar.gz732939af790eb92d1c6330d33c6daa8decf8a9c5dcc87b81779d6b12e14b931c3b87b
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.