Re: [PHP-DEV] [PATCH] Fix for 64-bit arch errors in zend_operators.c

2003-09-14 Thread Zeev Suraski
The patch looks good - I committed it. Thanks! Zeev At 18:01 13/09/2003, Ard Biesheuvel wrote: Hello group, Currently, the +, - en * operations in zend_operators in C do their calculcations on long arguments with doubles, and check if the result would fit in a long. This failed for me on Fre

[PHP-DEV] [PATCH] Fix for 64-bit arch errors in zend_operators.c

2003-09-13 Thread Ard Biesheuvel
Hello group, Currently, the +, - en * operations in zend_operators in C do their calculcations on long arguments with doubles, and check if the result would fit in a long. This failed for me on FreeBSD/alpha (in some of the math tests), because doubles are not accurate enough to represent LONG