Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91386 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 19680 invoked from network); 25 Feb 2016 01:00:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Feb 2016 01:00:21 -0000 X-Host-Fingerprint: 94.3.4.104 unknown Received: from [94.3.4.104] ([94.3.4.104:19378] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AB/33-27730-3225EC65 for ; Wed, 24 Feb 2016 20:00:20 -0500 Message-ID: To: internals@lists.php.net References: <47.95.38634.798BCC65@pb1.pair.com> <56CCFDD2.4000102@gmail.com> <29.1B.38634.BDD8DC65@pb1.pair.com> Date: Thu, 25 Feb 2016 01:00:17 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39 MIME-Version: 1.0 In-Reply-To: <29.1B.38634.BDD8DC65@pb1.pair.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 94.3.4.104 Subject: Re: [PHP-DEV] Re: [RFC] Deprecations for PHP 7.1 From: ajf@ajf.me (Andrea Faulds) Hi again, Andrea Faulds wrote: > Hi Yasuo, > > Yasuo Ohgaki wrote: >> This discussion is related to >> >> https://wiki.php.net/rfc/precise_float_value >> >> If you have comment on this, I appreciate it. >> Please search old thread for discussions. >> I'll start final RFC discussion for this when session RFC is finished. > > Thank you for bringing that RFC up again, it would improve this > situation somewhat. Particularly in that it would use the "0" precision > for zend_dtoa, which is the "shortest sequence of digits producing the > same value when converted back to a float" behaviour that I mentioned in > my email. > This article has a good explanation of the two different approaches: http://blog.reverberate.org/2016/02/06/floating-point-demystified-part2.html -- Andrea Faulds https://ajf.me/