Re: [PHP-DEV] [PATCH] Extend bitwise and modulus operators on 32-bit platforms

2009-03-18 Thread Hannes Magnusson
2009/3/16 Matt Wilmas : > That means anything like this previously only-64-bit code works as expected: [...] > What do you all think? +1 -Hannes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] [PATCH] Extend bitwise and modulus operators on 32-bit platforms

2009-03-16 Thread Matt Wilmas
Hi all, I changed the bitwise and modulus operator functions to [try to] make them more consistent with behavior on 64-bit platforms. By accepting double operands and, if necessary, returning a double, their usable range is greatly extended without running into overflow issues, etc. (Of cour