Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80495 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64233 invoked from network); 14 Jan 2015 21:54:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Jan 2015 21:54:18 -0000 Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 192.64.116.216 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.216 imap10-3.ox.privateemail.com Received: from [192.64.116.216] ([192.64.116.216:38988] helo=imap10-3.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4E/DE-19120-985E6B45 for ; Wed, 14 Jan 2015 16:54:17 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 6266F2400C2; Wed, 14 Jan 2015 16:54:14 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at imap10.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap10.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 72ntxcaYO2f8; Wed, 14 Jan 2015 16:54:14 -0500 (EST) Received: from oa-res-26-240.wireless.abdn.ac.uk (oa-res-26-240.wireless.abdn.ac.uk [137.50.26.240]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id AAC5D2400C3; Wed, 14 Jan 2015 16:54:13 -0500 (EST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) In-Reply-To: Date: Wed, 14 Jan 2015 21:54:10 +0000 Cc: PHP Internals Content-Transfer-Encoding: quoted-printable Message-ID: References: <8C47FA53-0964-49C0-963C-332A936348A5@ajf.me> <68229C26-4EEC-49DC-BA05-D5AC9728D1E8@ajf.me> <93376D88-A704-4F89-AB90-82EEDAE82081@ajf.me> To: Dmitry Stogov X-Mailer: Apple Mail (2.1993) Subject: Re: [PHP-DEV] [RFC] Big Integer Support From: ajf@ajf.me (Andrea Faulds) > On 14 Jan 2015, at 19:43, Dmitry Stogov wrote: >=20 > Hi Andrea,=20 >=20 > Where can I get the code? >=20 > 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=E2=80=99t 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 =E2=80=94-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=E2=80=99ll need to have the library installed. Thanks. -- Andrea Faulds http://ajf.me/