Re: [PATCH] *printf %e bug (36392)

From: Date: Mon, 25 Dec 2006 01:42:52 +0000
Subject: Re: [PATCH] *printf %e bug (36392)
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-27194@lists.php.net to get a copy of this message
Hi Ilia Are you sure this wasn't intended behavior? As far as I can see this has been like this for ever, it even breaks the test you added yourself over 4 years ago... -Hannes On 12/22/06, Ilia Alshanetsky <ilia@prohost.org> wrote:
Matt, The patch was applied, thanks. On 22-Dec-06, at 7:20 AM, Matt Wilmas wrote: Hi, Using the %e format specifier in the *printf() functions gives one less decimal place than it should. The recent *printf changes only happened to fix the problem when precision is 0. The new %E works correctly, which is obvious from the code. :-) Anyway, the attached patches remove the few problem lines. BTW, should there be a NEWS entry about the addition of %g, %G, and the previously missing %E (uppercase)? If I wasn't following the changes, that's something I'd want to see... :-) Matt <printf_e.diff.txt> <printf_e_5_2.diff.txt> -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php Ilia Alshanetsky -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.internals (#27194) next »