Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:75023 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49608 invoked from network); 20 Jun 2014 16:47:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jun 2014 16:47:39 -0000 Authentication-Results: pb1.pair.com header.from=tjerk.meesters@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tjerk.meesters@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.128.171 as permitted sender) X-PHP-List-Original-Sender: tjerk.meesters@gmail.com X-Host-Fingerprint: 209.85.128.171 mail-ve0-f171.google.com Received: from [209.85.128.171] ([209.85.128.171:38724] helo=mail-ve0-f171.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B2/00-49429-9A564A35 for ; Fri, 20 Jun 2014 12:47:38 -0400 Received: by mail-ve0-f171.google.com with SMTP id jz11so3791290veb.2 for ; Fri, 20 Jun 2014 09:47:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=oXmwRO4niS19eeUkCcppHoGoPxZupP4YiE4coU4uiug=; b=Qs7FArgjHSffrLZjPLmVYLDowaS2ErEQQU1Uzv80ov4wxsF5RA/uBOo30vLEU42V7I pUN+Z3ysgBq3G8g//Vxz/ZR49oyFxM1PuvGPbrx3Pw3Ms5M4Y3/mK8uy+eGii16DDPXt ED37p+QIMiZ31IZ/tM+XZQYws7dJgviqcSInbZoWiEQrZFEFSFOQHTp18dQZ6PEbZS1s vEX5b1siIglU83X2XshYtySCd63O8OuLyskRpIsdmAq6Ad6TjsXAna+YvpuDaX25lHTt OKz9+nRMirkdBElTrh44uVUTGbEfDkPlWIpbVuawT2deM94fcYt5knvpcxPlKcy2b9jD vTeg== MIME-Version: 1.0 X-Received: by 10.220.103.141 with SMTP id k13mr4054286vco.25.1403282854567; Fri, 20 Jun 2014 09:47:34 -0700 (PDT) Received: by 10.58.132.34 with HTTP; Fri, 20 Jun 2014 09:47:34 -0700 (PDT) In-Reply-To: References: Date: Sat, 21 Jun 2014 00:47:34 +0800 Message-ID: To: Andrea Faulds Cc: PHP Internals Content-Type: multipart/alternative; boundary=047d7b342d3010e78504fc47405e Subject: Re: [PHP-DEV] [DRAFT][RFC] Big Integer Support From: tjerk.meesters@gmail.com (Tjerk Meesters) --047d7b342d3010e78504fc47405e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, Jun 20, 2014 at 8:35 AM, Andrea Faulds wrote: > Good evening again, > > I=E2=80=99ve been working on a patch to add bigints to PHP for more than = a > fortnight now. It=E2=80=99d based on the phpng branch and very much unfin= ished, but > is somewhat working. > > A draft RFC is available here: https://wiki.php.net/rfc/bigint Cool! :) Regarding the pow() operator, if both operands are IS_LONG it does multiplications if the exponent is positive; I don't see that logic repeated in the IS_BIGINT cases. Was that causing issues? Also, I noticed a couple of merge commits on your branch that you may wish to iron out :) > > > It=E2=80=99s quite far from done, but I wanted to start some discussion n= ow as > finishing the patch will take some time. > > Thanks! > > -- > Andrea Faulds > http://ajf.me/ > > > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --=20 -- Tjerk --047d7b342d3010e78504fc47405e--