1Math::BigInt::FastCalc(3Ppemr)l Programmers Reference GuMiadteh::BigInt::FastCalc(3pm)
2
3
4
6 Math::BigInt::FastCalc - Math::BigInt::Calc with some XS for more speed
7
9 Provides support for big integer calculations. Not intended to be used
10 by other modules. Other modules which sport the same functions can also
11 be used to support Math::BigInt, like Math::BigInt::GMP or
12 Math::BigInt::Pari.
13
15 In order to allow for multiple big integer libraries, Math::BigInt was
16 rewritten to use library modules for core math routines. Any module
17 which follows the same API as this can be used instead by using the
18 following:
19
20 use Math::BigInt lib => 'libname';
21
22 'libname' is either the long name ('Math::BigInt::Pari'), or only the
23 short version like 'Pari'. To use this library:
24
25 use Math::BigInt lib => 'FastCalc';
26
27 Note that from Math::BigInt v1.76 onwards, FastCalc will be loaded
28 automatically, if possible.
29
31 FastCalc works exactly like Calc, in stores the numbers in decimal
32 form, chopped into parts.
33
35 The following functions are now implemented in FastCalc.xs:
36
37 _is_odd _is_even _is_one _is_zero
38 _is_two _is_ten
39 _zero _one _two _ten
40 _acmp _len
41 _inc _dec
42 __strip_zeros _copy
43
45 This program is free software; you may redistribute it and/or modify it
46 under the same terms as Perl itself.
47
49 Original math code by Mark Biggar, rewritten by Tels
50 <http://bloodgate.com/> in late 2000. Separated from BigInt and shaped
51 API with the help of John Peacock.
52
53 Fixed, sped-up and enhanced by Tels http://bloodgate.com 2001-2003.
54 Further streamlining (api_version 1 etc.) by Tels 2004-2007.
55
56 Bug-fixing by Peter John Acklam <pjacklam@online.no> 2010-2011.
57
59 Math::BigInt, Math::BigFloat, Math::BigInt::GMP, Math::BigInt::FastCalc
60 and Math::BigInt::Pari.
61
62
63
64perl v5.16.3 2013-03-04 Math::BigInt::FastCalc(3pm)