fb32debab6
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. WWW: http://search.cpan.org/dist/Math-Random-ISAAC/
25 lines
544 B
Makefile
25 lines
544 B
Makefile
# New ports collection makefile for: Math::Random::ISAAC
|
|
# Date created: 07 Dec, 2009
|
|
# Whom: Wen Heping <wen@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Math-Random-ISAAC
|
|
PORTVERSION= 1.002
|
|
CATEGORIES= math perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= wen@FreeBSD.org
|
|
COMMENT= Perl interface to the ISAAC PRNG Algorithm
|
|
|
|
BUILD_DEPENDS= p5-Test-NoWarnings>0:${PORTSDIR}/devel/p5-Test-NoWarnings
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
PERL_MODBUILD= yes
|
|
|
|
MAN3= Math::Random::ISAAC::PP.3 \
|
|
Math::Random::ISAAC.3
|
|
|
|
.include <bsd.port.mk>
|