Re: [RFC] Big Integer Support

From: Date: Wed, 14 Jan 2015 21:54:10 +0000
Subject: Re: [RFC] Big Integer Support
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-80495@lists.php.net to get a copy of this message
> On 14 Jan 2015, at 19:43, Dmitry Stogov <dmitry@zend.com> wrote: > > Hi Andrea, > > Where can I get the code? > > Thanks. Dmitry. Hey Dmitry, The bigint-libtommath branch was merged back into the bigint branch since I figured there was no point keeping them separate, even if the LibTomMath backend isn’t quite complete. So, the pull request is here: https://github.com/php/php-src/pull/876 Or, the branch directly: https://github.com/TazeTSchnitzel/php-src/tree/bigint When configuring, you can use —-enable-bigint-gmp to use GMP for bigints. Otherwise it will use LibTomMath. GMP is probably faster, and it has all operations implemented (I still need to do bitwise ops for LibTomMath). For GMP, you’ll need to have the library installed. Thanks. -- Andrea Faulds http://ajf.me/

« previous php.internals (#80495) next »