Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37431 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80658 invoked from network); 4 May 2008 13:24:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 May 2008 13:24:24 -0000 X-Host-Fingerprint: 24.228.80.153 ool-18e45099.dyn.optonline.net Received: from [24.228.80.153] ([24.228.80.153:2511] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A5/C5-43080-709BD184 for ; Sun, 04 May 2008 09:24:23 -0400 Message-ID: To: internals@lists.php.net Date: Sun, 04 May 2008 09:24:27 -0400 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041206 Thunderbird/1.0 Mnenhy/0.6.0.104 MIME-Version: 1.0 References: <001401c8ac74$dda6d060$98f47120$@com> <1209749793.1075.54.camel@inspiron.local> <1966702957.20080504130611@marcus-boerger.de> In-Reply-To: <1966702957.20080504130611@marcus-boerger.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Posted-By: 24.228.80.153 Subject: Re: [PHP-DEV] Float comparison From: edwardzyang@thewritingpot.com ("Edward Z. Yang") Marcus Boerger wrote: > Maybe you should have a look into PHP's bcmath extension. PHP's arbitrary precision math handlers are woefully inadequate. I mean, you can't even take the nth root or a logarithm with bcmath! (gmp isn't much better). (However, this has nothing to do with the floating point comparison argument.) -- Edward Z. Yang GnuPG: 0x869C48DA HTML Purifier Anti-XSS Filter [[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]