Hi, A few weeks ago I wrote quite a long posting to internals@ that tried to clarify the situation on the round() function in PHP. I was asked to write it up as an RFC in the wiki, which I have done:
http://wiki.php.net/rfc/rounding In the mean time, I had some time to think about that problem again and am quite sure that I have a feasible solution for the problem. The RFC includes a patch that addresses all problems and is in my eyes the best solution. The patch is actually much simpler than the RFC itself. ;-) I also discovered that zend_strtod() which is responsible for string to double conversions does not yield the same results as the traditional strtod() due to the same "extended precision truncated to double precision" problem on 32 bit x86 systems with GNU compiler. The patch also addresses that. Anyway, feel free to comment. Regards, Christian PS: While testing the Windows versions, I discovered, that someone removed http://www.php.net/extras/win32build.zip - is that intentional? I got the previous version out of CVS in order to be able to build PHP. If it is intentional, where do I get updated build instruction when compared to <http://www.php.net/manual/en/install.windows.building.php>? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php