summaryrefslogtreecommitdiff
path: root/dist/Math-BigInt-FastCalc
Commit message (Collapse)AuthorAgeFilesLines
* Increase $Math::BigInt::FastCalc::VERSION to 0.31Father Chrysostomos2013-08-251-1/+1
|
* Use SSize_t for arraysFather Chrysostomos2013-08-251-10/+10
| | | | | | | | | | Make the array interface 64-bit safe by using SSize_t instead of I32 for array indices. This is based on a patch by Chip Salzenberg. This completes what the previous commit began when it changed av_extend.
* Math-BigInt-FastCalc: Swap out base for parent (bowtie)kevin dawson2013-08-221-1/+1
| | | | For: RT #119405
* [perl #98414] Update Math-BigInt-FastCalc to CPAN version 0.30.Peter John Acklam2011-09-051-2/+2
|
* Add PERL_NO_GET_CONTEXT to Math::BigInit::FastCalc.Nicholas Clark2011-06-232-1/+3
| | | | | For threaded platforms, this reduces the object code size significantly, and should slightly reduce CPU usage.
* [perl #85118] [PATCH] Update Math::BigInt::FastCalc to CPAN version 0.28Peter John Acklam2011-03-013-5/+12
| | | | | | Add Perl v5.6 compatibility code to FastCalc.xs (Closes RT #63859). Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
* Update Math::BigInt::FastCalc to CPAN version 0.25Peter John Acklam2011-02-272-42/+6
| | | | | | | | | | | | | | | | | | # New Ticket Created by (Peter J. Acklam) # Please include the string: [perl #84982] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=84982 > Remove _new() from XS code and use _new() in Math::BigInt::Calc instead. The XS _new() doesn't handle integers that are too large to be represented exactly as floating point numbers, but small enough to be represented as 64 bit integers. E.g., even with 64 bit integer support, applying _num() to 18446744073709551615 (= 2**64-1) gives 1.84467440737096e+19, not 18446744073709551615. The XS _new() also returns nan, not inf, when it overflows. This closes RT #63335 and RT #49569. Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
* Bumped Math-BigInt, Math-BigInt-FastCalc and Math-BigRat versions for ↵Jesse Vincent2011-01-201-1/+1
| | | | release per cmpVERSION.pl
* Fix typos (spelling errors) in dist/*Peter J. Acklam) (via RT2011-01-073-3/+3
| | | | | | | | | # New Ticket Created by (Peter J. Acklam) # Please include the string: [perl #81888] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81888 > Signed-off-by: Abigail <abigail@abigail.be>
* Bump Math::BigInt::FastCalc to dev release as per Florian's requestChris 'BinGOs' Williams2010-11-191-1/+1
|
* Fix compilation with old xsubppsFlorian Ragwitz2010-11-101-3/+3
| | | | | croak_xs_usage is new in perl 5.10, but some version xsubpp emulate it on older perls as well. However, really old xsubpps don't do that.
* Structure dist/Math-BigInt-FastCalc like the CPAN distFlorian Ragwitz2010-11-071-3/+3
| | | | This makes applying patches between them easier.
* Macros are not called with aTHX_Father Chrysostomos2010-10-291-1/+1
|
* Fix Math::BigInt::FastCalc build under Win32 with croak_xs_usage().George Greer2010-10-291-1/+1
|
* Math::BigInt::FastCalc doesn't need to set $BASE or $BASE_LEN.Nicholas Clark2010-10-291-4/+2
| | | | | | | The variables are neither documented nor exported, and nothing on CPAN uses them. Hence there is no need to set them, which means that the return list from Math::BigInt::Calc::_base_len() can be passed directly into FastCalc's XS bootstrap.
* Math::BigInt::FastCalc doesn't need to override methods in a BEGIN block.Nicholas Clark2010-10-291-5/+2
| | | | | The BEGIN context of the code C<use>ing it will be early enough for the subroutine assignments to take full effect.
* Refactor FastCalc to initialise BASE and BASE_LEN as part of bootstrap.Nicholas Clark2010-10-292-17/+9
| | | | | | This avoids the need for a separate, special, one-shot _set_XS_BASE routine. We take advantage of the fact that all arguments to XSLoader::load() are passed on to the module's bootstrap routine.
* Reorder the list return of Math::BigInt::Calc::_base_len().Nicholas Clark2010-10-292-7/+5
| | | | | A search of CPAN shows that this private function is only used internally between Math::BigInt::Calc, Math::BigInt::FastCalc and their test suites.
* In FastCalc.xs, use SV * as the return type for _new() and _zero()Nicholas Clark2010-10-251-10/+10
| | | | | | | Previously these were using AV *. Whilst the code always was managing references correctly, to work around the deficiency of the standard typemap entry for AV * it had to mortalise the array it created, meaning that it was creating 2 entries per call on the mortals stack, not 1.
* Convert Math::BigInt::FastCalc to XSLoader.Nicholas Clark2010-10-251-6/+4
| | | | As the minimum perl version is 5.006, enable 'use warnings'.
* In FastCalc.xs, inline the macros CONSTANT_OBJ and RETURN_MORTAL_BOOL.Nicholas Clark2010-10-251-14/+10
| | | | | | | With the previous commit, both are now only used in one place. No need to use sv_2mortal() on the reset of boolSV(), as both PL_sv_no and PL_sv_yes are immortals. [And special-cased within the implementation of sv_2mortal() - not only is it a no-op, it's a non-free no-op :-)]
* Reduce repetition in FastCalc.xs by using ALIASes.Nicholas Clark2010-10-252-102/+14
| | | | | | | | _one, _two and _ten are aliases to _zero _is_odd is an alias of _is_even _is_one, _is_two, _is_ten are aliases of _is_zero On this system this reduces the object code size by about 4.5K (about 20%).
* Upgrade Math::BigInt::FastCalc from 0.21 to 0.22Florian Ragwitz2010-09-141-1/+1
|
* Remove obsolete test boilerplate from Math::BigInt::FastCalc.Nicholas Clark2010-09-112-22/+6
|
* Convert Math::BigInt::FastCalc tests from Test to Test::More.Nicholas Clark2010-09-112-203/+187
|
* Synchronize with Math::BigInt::FastCalc 0.21Florian Ragwitz2010-09-035-5/+1
|
* blead is upstream for Math-BigInt-FastCalcFlorian Ragwitz2010-09-036-0/+1266