Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27356 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 7050 invoked by uid 1010); 11 Jan 2007 14:38:59 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 7034 invoked from network); 11 Jan 2007 14:38:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Jan 2007 14:38:59 -0000 Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 204.11.219.139 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 204.11.219.139 lerdorf.com Linux 2.5 (sometimes 2.4) (4) Received: from [204.11.219.139] ([204.11.219.139:55884] helo=lerdorf.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CC/D3-08026-20C46A54 for ; Thu, 11 Jan 2007 09:38:58 -0500 Received: from [192.168.200.104] (c-67-169-43-97.hsd1.ca.comcast.net [67.169.43.97]) (authenticated bits=0) by lerdorf.com (8.13.8/8.13.8/Debian-3) with ESMTP id l0BEcnIm028169; Thu, 11 Jan 2007 06:38:49 -0800 Message-ID: <45A64BF8.3000106@lerdorf.com> Date: Thu, 11 Jan 2007 06:38:48 -0800 User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: Tom Sommer CC: Ilia Alshanetsky , internals@lists.php.net References: <771FBCA3-16B4-48E3-9BD1-F003489BD158@ilia.ws> <12705.62.242.67.218.1168520262.squirrel@webmail.dreamcoder.dk> In-Reply-To: <12705.62.242.67.218.1168520262.squirrel@webmail.dreamcoder.dk> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PHP 5.2.1RC2 Released From: rasmus@lerdorf.com (Rasmus Lerdorf) Tom Sommer wrote: > On Fri, January 5, 2007 01:13, Ilia Alshanetsky wrote: > >> With this release we are nearing the final stretch is the release >> cycle, so I'd like to ask all developers to refrain from making any commits >> to the 5.2 tree that are not bug fixes. If all goes well the final RC >> (RC3) will be available in 2 weeks to be shortly followed by >> the final release. > > Any word on bug #36008, is it fixed? > > It's pretty nasty for people running accounting and financially critical > applications. How is that a bug? Floating point values need to be sanitized before you do any sort of calculation with them or you will be magnifying any system-level imprecision. In that example he sanitized it by converting it to a string which isn't magic, it is just another way to truncate the imprecision. Any decent accounting/financial application should be working in integers (as in cents) and should never run into these issues. There is nothing we can do to fix this. -Rasmus