math/p5-Math-Random-ISAAC-XS 1.004 MidnightBSD
C implementation of the ISAAC PRNG Algorithm
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- artistic, gpl+, mit, publicdom
- 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-XS | 1.004 |
| FreeBSD | math/p5-Math-Random-ISAAC-XS | 1.004_3 |
| NetBSD | math/p5-Math-Random-ISAAC-XS | 1.004nb13 |
| DragonFly | math/p5-Math-Random-ISAAC-XS | 1.004_3 |
| HardenedBSD | math/p5-Math-Random-ISAAC-XS | 1.004_3 |
| GhostBSD | math/p5-Math-Random-ISAAC-XS | 1.004_3 |
Install
Binary package:
mport install p5-Math-Random-ISAAC-XS
From mports:
cd /usr/mports/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
Dependencies
As this port's Makefile names them.
Test 1
p5-Test-NoWarnings>0: devel/p5-Test-NoWarnings
Required by 1
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
Manual pages 1
- Math::Random::ISAAC::XS(3)
pkg-plist 16
- %%SITE_PERL%%/Math/Random/ISAAC/XS.pm
- %%SITE_PERL%%/auto/Math/Random/ISAAC/XS/XS.so
- %%SITE_PERL%%/man/man3/Math::Random::ISAAC::XS.3.gz
- @dir %%SITE_PERL%%/Math/Random/ISAAC
- @dir %%SITE_PERL%%/Math/Random
- @dir %%SITE_PERL%%/Math
- @dir %%SITE_PERL%%/auto/Math/Random/ISAAC/XS
- @dir %%SITE_PERL%%/auto/Math/Random/ISAAC
- @dir %%SITE_PERL%%/auto/Math/Random
- @dir %%SITE_PERL%%/auto/Math
- @dir %%SITE_PERL%%/auto
- @dir %%SITE_PERL%%/man/man3
- @dir %%SITE_PERL%%/man
- @dir
- @dir lib/perl5/site_perl
- @dir lib/perl5
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Math-Random-ISAAC-XS-1.004.tar.gz | 73293 | 9af790eb92d1c6330d33c6daa8decf8a9c5dcc87b81779d6b12e14b931c3b87b |
Master sites 1
- CPAN