ID: 24330 Updated by: [EMAIL PROTECTED] Reported By: vm at color-pro dot com -Status: Open +Status: Bogus Bug Type: *Math Functions Operating System: FreeBSD 4.5 PHP Version: 4.3.1 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. Read the section on floats again... Previous Comments: ------------------------------------------------------------------------ [2003-06-25 06:53:02] vm at color-pro dot com Description: ------------ abs not work corectly with <,> operator Reproduce code: --------------- if ( abs(0.97 - 0.98) > 0.01 ) echo bed1; if ( abs(0.07 - 0.08) > 0.01 ) echo bed2; if ( 0.01 > 0.01 ) echo bed3; Expected result: ---------------- there must nothing here printing !!! Actual result: -------------- bed1 here printing ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24330&edit=1