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

From: Date: Wed, 16 May 2007 16:31:23 +0000
Subject: Re: #41401 [Opn->Bgs]: Order of Operations error on divide by negative
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-29474@lists.php.net to get a copy of this message
Michael Wallner wrote: > Should all these three examples give the same result? ^ n't > $ php -r 'var_dump(-1/2*5, 1/-2*5, 1/2*-5);' > float(-2.5) > float(-0.1) > float(-2.5) Sorry, -- Michael

« previous php.internals (#29474) next »