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
| System | Port | Version |
|---|---|---|
| MidnightBSD | math/p5-Math-Random-ISAAC | 1.004_2 |
| FreeBSD | math/p5-Math-Random-ISAAC | 1.004_2 |
| OpenBSD | math/p5-Math-Random-ISAAC | 1.004p1 |
| NetBSD | math/p5-Math-Random-ISAAC | 1.004nb13 |
| DragonFly | math/p5-Math-Random-ISAAC | 1.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
p5-Math-Random-ISAAC-XS>0: math/p5-Math-Random-ISAAC-XS
Runtime 1
p5-Math-Random-ISAAC-XS>0: math/p5-Math-Random-ISAAC-XS
Test 1
p5-Test-NoWarnings>0: devel/p5-Test-NoWarnings
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
| File | Size | SHA256 |
|---|---|---|
| Math-Random-ISAAC-1.004.tar.gz | 34445 | 2773f02fbf207e9745e76a037df08bf5a8cc987ed23c57040ce7f7b1561f2b7c |
Master sites 1
- CPAN