Re: [VOTE][RFC] ZPP Failure on Overflow

From: Date: Thu, 04 Dec 2014 05:57:26 +0000
Subject: Re: [VOTE][RFC] ZPP Failure on Overflow
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-79411@lists.php.net to get a copy of this message
On Thu, Dec 4, 2014 at 1:54 PM, Andrea Faulds <ajf@ajf.me> wrote: > >> On 4 Dec 2014, at 05:51, Xinchen Hui <laruence@php.net> wrote: >> >>> >> I am not sure if I misunderstand your proposal.. >> >> I thought you proposal is only fail if double value is out of long range >> >> but from your patch, ext/date/tests/date_sunset_variation9.phpt is >> fails with a double value 12.*** (which is obviously not out of long >> range). > > That one caught me out too! Look more carefully, I missed it the first time. > > 12.3456789000e10 has a sneaky “e10” at the end, so it’s more like 123456789000 ;) Ah...... okey.... :) thanks > > -- > Andrea Faulds > http://ajf.me/ > > > > -- Xinchen Hui @Laruence http://www.laruence.com/

« previous php.internals (#79411) next »