Upload Tizen:Base source
[external/gmp.git] / demos / perl / GMP / Rand.pm
1 # GMP random numbers module.
2
3 # Copyright 2001, 2003 Free Software Foundation, Inc.
4 #
5 # This file is part of the GNU MP Library.
6 #
7 # The GNU MP Library is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU Lesser General Public License as published
9 # by the Free Software Foundation; either version 3 of the License, or (at
10 # your option) any later version.
11 #
12 # The GNU MP Library is distributed in the hope that it will be useful, but
13 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 # or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
15 # License for more details.
16 #
17 # You should have received a copy of the GNU Lesser General Public License
18 # along with the GNU MP Library.  If not, see http://www.gnu.org/licenses/.
19
20
21 package GMP::Rand;
22
23 require GMP;
24 require Exporter;
25 @ISA = qw(GMP Exporter);
26 @EXPORT = qw();
27 %EXPORT_TAGS = ('all' => [qw(
28                              randstate mpf_urandomb mpz_rrandomb
29                              mpz_urandomb mpz_urandomm gmp_urandomb_ui
30                              gmp_urandomm_ui)]);
31 Exporter::export_ok_tags('all');
32 1;
33 __END__