ID: 44550 Updated by: [EMAIL PROTECTED] Reported By: akimkin dot denis at gmail dot com -Status: Open +Status: Bogus Bug Type: Math related Operating System: Gentoo GNU/Linux PHP Version: 5.2.6RC2 New Comment:
Next time, use the search before submitting another bogus report. See bug #31803 for more. Previous Comments: ------------------------------------------------------------------------ [2008-03-27 13:46:20] akimkin dot denis at gmail dot com Description: ------------ It seems, that there's some problems with cos() function - it returns some strange values, when must return zero. Reproduce code: --------------- <? echo cos(M_PI_2); // or cos(deg2rad(90)); ?> Expected result: ---------------- 0 Actual result: -------------- 6.12303176911E-17 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44550&edit=1
