Re: [PHP-DEV] bug 43053 - scientific notation

2008-04-21 Thread Ryan Brothers
Antony Dovgal wrote: > In 5.2.1 string-to-double routines were changed to use BSD licensed > code (previous version was LGPLed). To follow-up on this, a patch was just posted in the bug for this issue. It appears that the issue started with revision 1.30 to ZendEngine2/zend_strtod.c in March 20

Re: [PHP-DEV] bug 43053 - scientific notation

2008-03-13 Thread Ryan Brothers
Antony Dovgal wrote: > In 5.2.1 string-to-double routines were changed to use BSD licensed > code (previous version was LGPLed). Thanks, I first noticed this problem in 5.2.2 though. 5.2.1 does not exhibit this behavior for me and works as I expected. Could the change be caused by something el

Re: [PHP-DEV] bug 43053 - scientific notation

2008-03-13 Thread 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

Re: [PHP-DEV] bug 43053 - scientific notation

2008-03-13 Thread Antony Dovgal
On 03/13/2008 07:03 PM, Ryan Brothers wrote: > While I understand that the way floating point numbers are stored can vary > and shouldn't be relied upon, I'm more curious why a change was made in PHP > 5.2.2 to print certain numbers in scientific notation In 5.2.1 string-to-double routines were

[PHP-DEV] bug 43053 - scientific notation

2008-03-13 Thread Ryan Brothers
Hello, I just wanted to find out the status of bug 43053 (http://bugs.php.net/bug.php?id=43053) which is regarding inconsistent handling of floating point numbers which seems to have changed in PHP 5.2.2 and later, but I don't see it documented nor see it listed on any changelog or announcemen