From:             [EMAIL PROTECTED]
Operating system: Linux (Debian 2.2)
PHP version:      4.1.1
PHP Bug Type:     Math related
Bug description:  pow(0,[broken power]) gives wrong result

The pow() function returns incorrect results when raising zero to a "broken
power".

pow(0,0.5) ("the square root of zero"), for example, returns NAN. It should
return zero.

This, is new since 4.0.6. Perhaps it is related to the fix for bug
#14544.

-- 
Edit bug report at: http://bugs.php.net/?id=14756&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to