summaryrefslogtreecommitdiff
path: root/ext/gmp
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug #15835.jim winstead2002-04-091-1/+1
|
* Fixed bug: #16237foobar2002-03-271-4/+4
|
* extension converted automatically to PHP_NEW_EXTENSION. Manually confirmedSascha Schumann2002-03-122-10/+1
|
* Fixed many tests, mostly incorrect paths.Sander Roobol2002-03-081-1/+1
|
* Maintain headers.Sebastian Bergmann2002-02-282-2/+2
|
* '0b' could be the beginning of a hex string (without leading '0x') so ifSean Bright2002-02-101-1/+1
| | | | | the user specifies base 16, use that instead.
* Add a new test for GMP base recognition.Sean Bright2002-02-101-0/+49
|
* Fix for bugs #10133 and #15454.Sean Bright2002-02-101-12/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #15454 results from a bug in GMP. If you pass in a string '0xABCD' and specify a base of 0, GMP figures out that it is hex and skips over the 0x characters. If you specify base 16, then it doesn't skip those chars. This was confirmed with the following test program: #include <stdio.h> #include <gmp.h> int main() { char *str_one, *str_two; mpz_t num_one, num_two; mpz_init_set_str (num_one, "0x45", 0); str_one = mpz_get_str(NULL, 10, num_one); mpz_init_set_str (num_two, "0x45", 16); str_two = mpz_get_str(NULL, 10, num_two); printf("%s / %s\n", str_one, str_two); mpz_clear (num_one); mpz_clear (num_two); return 0; } We now take anything that starts with 0[xX] as hexidecimal and anything that starts 0[bB] as binary (this is what GMP does internally). We also no longer force the base to 10 or 16, but instead let GMP decide what the best base is, be it hex, dec, or octal.
* proto fixHartmut Holzgraefe2001-12-151-1/+1
|
* Update headers.Sebastian Bergmann2001-12-112-4/+4
|
* Unified the configure messages.foobar2001-11-301-6/+4
|
* * zend_module_entry change: apino, debug and zts are moved first,Stig Bakken2001-10-111-0/+2
| | | | | | see README.EXTENSIONS file for upgrade help. @Introduced extension version numbers (Stig)
* - Don't wrap lines... this is annoying while coding.Derick Rethans2001-09-091-2/+2
|
* WhitespaceZeev Suraski2001-08-111-14/+14
|
* ZEND macro-rename.foobar2001-08-112-9/+9
|
* Another TSRM fix. Plus killed some compile warnings.foobar2001-08-071-22/+23
|
* (gmp_init) Added extra (optional) argument to gmp_init():Stanislav Malyshev2001-08-051-14/+26
| | | | | | | | | | a base argument which indicates the number base. E.g.: gmp_init('1010101010',2); // feed gmp a binary value. Patch by Troels. @- Added optional extra argument to gmp_init(). The extra argument @ indicates which number base gmp should use when converting a @ string to the gmp-number. (Troels)
* More TSRMLS_FETCH annihilationZeev Suraski2001-07-311-2/+3
|
* More TSRMLS_FETCH work, and a bit of cleanupZeev Suraski2001-07-301-3/+0
|
* Avoid TSRMLS_FETCH()'s, and clean up a bit of stale extern's and layout on ↵Zeev Suraski2001-07-301-3/+0
| | | | the way
* Redesigned thread safety mechanism - nua nuaZeev Suraski2001-07-281-3/+1
|
* Add credits to GMPStanislav Malyshev2001-07-161-0/+2
|
* Make gmp compile againStanislav Malyshev2001-06-061-6/+6
|
* Fix folding and clean up some extensionsRasmus Lerdorf2001-06-061-1/+2
|
* vim-6 does folding - clean up a bunch of missing folding tags plusRasmus Lerdorf2001-06-051-12/+62
| | | | | some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
* * include "config.h" if HAVE_CONFIG_H is defined (for standalone dso build)Stig Bakken2001-05-241-0/+4
|
* Renamed the AC_ prefixed macros defined in acinclude.m4 to PHP_* prefixes.foobar2001-03-271-2/+2
| | | | | # Heads up people! I tested this before committing but you never know..
* - Fix copyright notices with 2001Andi Gutmans2001-02-262-2/+2
|
* Add license infoStanislav Malyshev2000-12-281-0/+2
|
* Skip mcrypt/gmp tests, if the extensions are not available.Sascha Schumann2000-12-241-0/+2
|
* Add GMP testsStanislav Malyshev2000-12-132-0/+40
|
* Fix indentation of configure outputSascha Schumann2000-12-061-1/+1
|
* Update READMEStanislav Malyshev2000-12-061-3/+3
|
* Fix prototypesStanislav Malyshev2000-12-061-9/+9
| | | | | Fix prefect_square return
* Make GMP use Zend's memory functionsStanislav Malyshev2000-12-051-0/+18
|
* Fix prototypesStanislav Malyshev2000-12-051-2/+2
|
* Add check for conversion baseStanislav Malyshev2000-12-051-0/+5
|
* Fixed some protos.Egon Schmid2000-12-011-76/+38
|
* Add more GMP functions, fix a couple of bugsStanislav Malyshev2000-11-294-35/+129
|
* GNU GMP - arbitrary precision nubers libraryStanislav Malyshev2000-11-266-0/+1264