Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77880 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58302 invoked from network); 11 Oct 2014 18:22:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Oct 2014 18:22:54 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.215.10 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.215.10 mail.experimentalworks.net Received: from [217.114.215.10] ([217.114.215.10:47212] helo=mail.experimentalworks.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 02/71-43359-B7579345 for ; Sat, 11 Oct 2014 14:22:52 -0400 Received: by mail.experimentalworks.net (Postfix, from userid 1003) id E1E1143725; Sat, 11 Oct 2014 20:23:02 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on km31408.keymachine.de X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.2 X-Spam-HAM-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP Received: from [192.168.2.34] (ppp-93-104-5-66.dynamic.mnet-online.de [93.104.5.66]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: johannes@schlueters.de) by mail.experimentalworks.net (Postfix) with ESMTPSA id CBF1743725; Sat, 11 Oct 2014 20:23:00 +0200 (CEST) Message-ID: <1413051766.23793.8.camel@kuechenschabe> To: Lester Caine Cc: PHP internals Date: Sat, 11 Oct 2014 20:22:46 +0200 In-Reply-To: <54395567.6030509@lsces.co.uk> References: <8C47FA53-0964-49C0-963C-332A936348A5@ajf.me> <54385BC4.8030405@lsces.co.uk> <54386E55.20407@lsces.co.uk> <5A30388D-AD64-4C6A-8547-A0C98D834A8A@ajf.me> <5438F4D1.1080206@lsces.co.uk> <54395567.6030509@lsces.co.uk> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Big Integer Support From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Sat, 2014-10-11 at 17:05 +0100, Lester Caine wrote: > BIGINT is a cleanly defined concept and something we have had to cope > with for some time since PHP does not support 64 bit integers cleanly. > Now that 64 bit builds support a clean 64 bit integer, the problem > arises that 32 bit builds will handle this in the old way. Arbitrary-precision arithmetic From Wikipedia, the free encyclopedia (Redirected from Bigint) http://en.wikipedia.org/wiki/Bigint In computer science, arbitrary-precision arithmetic, also called bignum arithmetic, multiple precision arithmetic, or sometimes infinite-precision arithmetic, indicates that calculations are performed on numbers whose digits of precision are limited only by the available memory of the host system. This contrasts with the faster fixed-precision arithmetic found in most arithmetic logic unit (ALU) hardware, which typically offers between 8 and 64 bits of precision [...] But that's bikesheding, if we like we can call it also yellow-blue-striped birds with red dots. Please discuss the contents not the painting. Thanks. johannes