#41401 [Opn->Bgs]: Order of Operations error on divide by negative

From: Date: Wed, 16 May 2007 12:51:00 +0000
Subject: #41401 [Opn->Bgs]: Order of Operations error on divide by negative
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-112688@lists.php.net to get a copy of this message
 ID:               41401
 Updated by:       tony2001@php.net
 Reported By:      drlippman at yahoo dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Math related
 Operating System: Windows, Linux
 PHP Version:      4.4.7
 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.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.




Previous Comments:
------------------------------------------------------------------------

[2007-05-15 15:44:07] drlippman at yahoo dot com

Description:
------------
Left-to-right order of operations does not appear to be honored when
dividing by a negative

Reproduce code:
---------------
1/-2*5

Expected result:
----------------
-2.5

Actual result:
--------------
-.1


------------------------------------------------------------------------


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


Thread (6 messages)

« previous php.bugs (#112688) next »