1Math::Random::ISAAC::XSU(s3e)r Contributed Perl DocumentaMtaitohn::Random::ISAAC::XS(3)
2
3
4

NAME

6       Math::Random::ISAAC::XS - C implementation of the ISAAC PRNG algorithm
7

VERSION

9       version 1.004
10

SYNOPSIS

12       This module implements the same interface as "Math::Random::ISAAC" and
13       can be used as a drop-in replacement. This is the recommended
14       implementation of the module, based on Bob Jenkins' reference
15       implementation in C.
16
17       Selecting the backend to use manually really only has two uses:
18
19       ·   If you are trying to avoid the small overhead incurred with
20           dispatching method calls to the appropriate backend modules.
21
22       ·   If you are testing the module for performance and wish to
23           explicitly decide which module you would like to use.
24
25       Example code:
26
27         # With Math::Random::ISAAC
28         my $rng = Math::Random::ISAAC->new(time);
29         my $rand = $rng->rand();
30
31         # With Math::Random::ISAAC::XS
32         my $rng = Math::Random::ISAAC::XS->new(time);
33         my $rand = $rng->rand();
34

DESCRIPTION

36       See Math::Random::ISAAC for the full description.
37

METHODS

39   new
40         Math::Random::ISAAC::XS->new( @seeds )
41
42       Implements the interface as specified in "Math::Random::ISAAC"
43
44   rand
45         $rng->rand()
46
47       Implements the interface as specified in "Math::Random::ISAAC"
48
49   irand
50         $rng->irand()
51
52       Implements the interface as specified in "Math::Random::ISAAC"
53

SEE ALSO

55       Math::Random::ISAAC
56
57       1;
58

BUGS

60       Please report any bugs or feature requests on the bugtracker website
61       http://rt.cpan.org/NoAuth/Bugs.html?Dist=Math-Random-ISAAC-XS
62
63       When submitting a bug or request, please include a test-file or a patch
64       to an existing test-file that illustrates the bug or desired feature.
65

AUTHOR

67       Jonathan Yu <jawnsy@cpan.org>
68
70       Legally speaking, this package and its contents are:
71
72         Copyright (c) 2011 by Jonathan Yu <jawnsy@cpan.org>.
73
74       But this is really just a legal technicality that allows the author to
75       offer this package under the public domain and also a variety of
76       licensing options. For all intents and purposes, this is public domain
77       software, which means you can do whatever you want with it.
78
79       The software is provided "AS IS", without warranty of any kind, express
80       or implied, including but not limited to the warranties of
81       merchantability, fitness for a particular purpose and noninfringement.
82       In no event shall the authors or copyright holders be liable for any
83       claim, damages or other liability, whether in an action of contract,
84       tort or otherwise, arising from, out of or in connection with the
85       software or the use or other dealings in the software.
86
87
88
89perl v5.32.0                      2020-07-28        Math::Random::ISAAC::XS(3)
Impressum