line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# [[[ HEADER ]]] |
2
|
|
|
|
|
|
|
package # hide from PAUSE indexing |
3
|
|
|
|
|
|
|
rperlgmp; ## no critic qw(Capitalization ProhibitMultiplePackages ProhibitReusedNames) # SYSTEM DEFAULT 3: allow multiple & lower case package names |
4
|
1
|
|
|
1
|
|
8706
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
30
|
|
5
|
1
|
|
|
1
|
|
7
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
48
|
|
6
|
|
|
|
|
|
|
our $VERSION = 0.001_300; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
# [[[ INCLUDES ]]] |
9
|
1
|
|
|
1
|
|
417
|
use RPerl::DataType::GMPInteger; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
134
|
|
10
|
1
|
|
|
1
|
|
12
|
use RPerl::Operation::Expression::Operator::GMPFunctions; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
119
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
# [[[ EXPORTS ]]] |
13
|
1
|
|
|
1
|
|
7
|
use Exporter 'import'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
74
|
|
14
|
|
|
|
|
|
|
our @EXPORT = qw( |
15
|
|
|
|
|
|
|
gmp_integer_to_boolean gmp_integer_to_unsigned_integer gmp_integer_to_integer gmp_integer_to_number gmp_integer_to_character gmp_integer_to_string |
16
|
|
|
|
|
|
|
boolean_to_gmp_integer integer_to_gmp_integer unsigned_integer_to_gmp_integer number_to_gmp_integer character_to_gmp_integer string_to_gmp_integer |
17
|
|
|
|
|
|
|
gmp_init gmp_init_set_unsigned_integer gmp_init_set_signed_integer |
18
|
|
|
|
|
|
|
gmp_set gmp_set_unsigned_integer gmp_set_signed_integer gmp_set_number gmp_set_string |
19
|
|
|
|
|
|
|
gmp_get_unsigned_integer gmp_get_signed_integer gmp_get_number gmp_get_string |
20
|
|
|
|
|
|
|
gmp_add gmp_sub gmp_mul gmp_mul_unsigned_integer gmp_mul_signed_integer gmp_sub_mul_unsigned_integer gmp_add_mul_unsigned_integer gmp_neg |
21
|
|
|
|
|
|
|
gmp_div_truncate_quotient |
22
|
|
|
|
|
|
|
gmp_cmp |
23
|
|
|
|
|
|
|
); |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
1; # end of package |