Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36128 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69201 invoked from network); 13 Mar 2008 21:01:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Mar 2008 21:01:37 -0000 X-Host-Fingerprint: 24.228.80.153 ool-18e45099.dyn.optonline.net Received: from [24.228.80.153] ([24.228.80.153:18882] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 32/A2-09870-03699D74 for ; Thu, 13 Mar 2008 16:01:36 -0500 Message-ID: <32.A2.09870.03699D74@pb1.pair.com> To: internals@lists.php.net Date: Thu, 13 Mar 2008 17:01:33 -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: <2F.42.34038.44059D74@pb1.pair.com> <47D96003.5040306@daylessday.org> In-Reply-To: <47D96003.5040306@daylessday.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Posted-By: 24.228.80.153 Subject: Re: [PHP-DEV] bug 43053 - scientific notation From: edwardzyang@thewritingpot.com ("Edward Z. Yang") Antony Dovgal wrote: > In 5.2.1 string-to-double routines were changed to use BSD licensed > code (previous version was LGPLed). > What you see is just an unintentional side-effect of this update. Side-effect or not, it looks like the change was pretty major and some documentation should be added. There, really, are two questions: 1. What is the new behavior? 2. Is the new behavior correct? It looks like, from the bug report, two separate issues are being reported. The first involves large integers, which I can't reproduce on w32 builds for 5.2.2 and 5.2.5, and should have anything to do with string-to-double. The second involves floats to strings. I'd argue that the first case shouldn't be happening, and I don't see it, but nate's report appears to be consistent with this sort of thing. The float complaints, however, is almost certainly all bogus, and needs better documentation. -- Edward Z. Yang GnuPG: 0x869C48DA HTML Purifier Anti-XSS Filter [[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]