1Math::BigInt::GMP(3) User Contributed Perl Documentation Math::BigInt::GMP(3)
2
3
4
6 Math::BigInt::GMP - backend library for Math::BigInt etc. based on GMP
7
9 # to use it with Math::BigInt
10 use Math::BigInt lib => 'GMP';
11
12 # to use it with Math::BigFloat
13 use Math::BigFloat lib => 'GMP';
14
15 # to use it with Math::BigRat
16 use Math::BigRat lib => 'GMP';
17
19 Math::BigInt::GMP is a backend library for Math::BigInt,
20 Math::BigFloat, Math::BigRat and related modules.
21
22 Math::BigInt::GMP provides support for big integer calculations by
23 means of the GMP C library. See <https://gmplib.org/> for more
24 information about the GMP library.
25
26 Math::BigInt::GMP no longer uses Math::GMP, but provides its own XS
27 layer to access the GMP C library. This cuts out another (Perl
28 subroutine) layer and also reduces the memory footprint.
29
30 Math::BigInt::GMP inherits from Math::BigInt::Lib.
31
33 $str = gmp_version();
34 Returns the underlying GMP library's version as a string, e.g., 6.2.1.
35
37 Please report any bugs or feature requests to "bug-math-bigint-gmp at
38 rt.cpan.org", or through the web interface at
39 <https://rt.cpan.org/Ticket/Create.html?Queue=Math-BigInt-GMP>
40 (requires login). We will be notified, and then you'll automatically be
41 notified of progress on your bug as I make changes.
42
44 After installing, you can find documentation for this module with the
45 perldoc command.
46
47 perldoc Math::BigInt::GMP
48
49 You can also look for information at:
50
51 GitHub
52 <https://github.com/pjacklam/p5-Math-BigInt-GMP>
53
54 RT: CPAN's request tracker
55 <https://rt.cpan.org/Dist/Display.html?Name=Math-BigInt-GMP>
56
57 MetaCPAN
58 <https://metacpan.org/release/Math-BigInt-GMP>
59
60 CPAN Testers Matrix
61 <http://matrix.cpantesters.org/?dist=Math-BigInt-GMP>
62
63 CPAN Ratings
64 <https://cpanratings.perl.org/dist/Math-BigInt-GMP>
65
67 This program is free software; you may redistribute it and/or modify it
68 under the same terms as Perl itself.
69
71 Tels <http://bloodgate.com/> in 2001-2007.
72
73 Thanks to Chip Turner (CHIPT on CPAN) for providing Math::GMP, which
74 was inspiring my work.
75
76 Maintained by Peter John Acklam <pjacklam@gmail.com> 2010-2021.
77
78 gmp_version() provided by FGasper on GitHub.
79
81 Math::BigInt::Lib for a description of the API.
82
83 Alternative libraries Math::BigInt::Calc, Math::BigInt::FastCalc, and
84 Math::BigInt::Pari.
85
86 Some of the modules that use these libraries Math::BigInt,
87 Math::BigFloat, and Math::BigRat.
88
89
90
91perl v5.38.0 2023-07-20 Math::BigInt::GMP(3)