1Math::BigInt::FastCalc(U3s)er Contributed Perl DocumentatMiaotnh::BigInt::FastCalc(3)
2
3
4
6 Math::BigInt::FastCalc - Math::BigInt::Calc with some XS for more speed
7
9 # to use it with Math::BigInt
10 use Math::BigInt lib => 'FastCalc';
11
12 # to use it with Math::BigFloat
13 use Math::BigFloat lib => 'FastCalc';
14
15 # to use it with Math::BigRat
16 use Math::BigRat lib => 'FastCalc';
17
19 Math::BigInt::FastCalc inherits from Math::BigInt::Calc.
20
21 Provides support for big integer calculations. Not intended to be used
22 by other modules. Other modules which sport the same functions can also
23 be used to support Math::BigInt, like Math::BigInt::GMP or
24 Math::BigInt::Pari.
25
26 In order to allow for multiple big integer libraries, Math::BigInt was
27 rewritten to use library modules for core math routines. Any module
28 which follows the same API as this can be used instead by using the
29 following:
30
31 use Math::BigInt lib => 'libname';
32
33 'libname' is either the long name ('Math::BigInt::Pari'), or only the
34 short version like 'Pari'. To use this library:
35
36 use Math::BigInt lib => 'FastCalc';
37
39 Math::BigInt::FastCalc works exactly like Math::BigInt::Calc. Numbers
40 are stored in decimal form chopped into parts.
41
43 The following functions are now implemented in FastCalc.xs:
44
45 _is_odd _is_even _is_one _is_zero
46 _is_two _is_ten
47 _zero _one _two _ten
48 _acmp _len
49 _inc _dec
50 __strip_zeros _copy
51
53 Please report any bugs or feature requests to "bug-math-bigint-fastcalc
54 at rt.cpan.org", or through the web interface at
55 <https://rt.cpan.org/Ticket/Create.html?Queue=Math-BigInt-FastCalc>
56 (requires login). We will be notified, and then you'll automatically
57 be notified of progress on your bug as I make changes.
58
60 You can find documentation for this module with the perldoc command.
61
62 perldoc Math::BigInt::FastCalc
63
64 You can also look for information at:
65
66 · RT: CPAN's request tracker
67
68 <https://rt.cpan.org/Public/Dist/Display.html?Name=Math-BigInt-FastCalc>
69
70 · AnnoCPAN: Annotated CPAN documentation
71
72 <http://annocpan.org/dist/Math-BigInt-FastCalc>
73
74 · CPAN Ratings
75
76 <http://cpanratings.perl.org/dist/Math-BigInt-FastCalc>
77
78 · Search CPAN
79
80 <http://search.cpan.org/dist/Math-BigInt-FastCalc/>
81
82 · CPAN Testers Matrix
83
84 <http://matrix.cpantesters.org/?dist=Math-BigInt-FastCalc>
85
86 · The Bignum mailing list
87
88 · Post to mailing list
89
90 "bignum at lists.scsys.co.uk"
91
92 · View mailing list
93
94 <http://lists.scsys.co.uk/pipermail/bignum/>
95
96 · Subscribe/Unsubscribe
97
98 <http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/bignum>
99
101 This program is free software; you may redistribute it and/or modify it
102 under the same terms as Perl itself.
103
105 Original math code by Mark Biggar, rewritten by Tels
106 <http://bloodgate.com/> in late 2000. Separated from BigInt and shaped
107 API with the help of John Peacock.
108
109 Fixed, sped-up and enhanced by Tels http://bloodgate.com 2001-2003.
110 Further streamlining (api_version 1 etc.) by Tels 2004-2007.
111
112 Bug-fixing by Peter John Acklam <pjacklam@online.no> 2010-2016.
113
115 Math::BigInt::Lib for a description of the API.
116
117 Alternative libraries Math::BigInt::Calc, Math::BigInt::GMP, and
118 Math::BigInt::Pari.
119
120 Some of the modules that use these libraries Math::BigInt,
121 Math::BigFloat, and Math::BigRat.
122
123
124
125perl v5.32.0 2020-07-28 Math::BigInt::FastCalc(3)