From: [EMAIL PROTECTED] Operating system: Win XP PHP version: 4.1.2 PHP Bug Type: *Math Functions Bug description: x^y gives unusual results
x^y should always yield a positive number, however when doing -2^2 and (-2)^2, I get a result of -4! Surely this aint right? -- Edit bug report at http://bugs.php.net/?id=16593&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16593&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16593&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16593&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16593&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16593&r=support Expected behavior: http://bugs.php.net/fix.php?id=16593&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16593&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16593&r=submittedtwice