A naive question
Stephane Ducasse
ducasse at iam.unibe.ch
Thu Jun 27 19:39:26 UTC 2002
Hi
I wanted to show the difference between
50 at 60 + 200 at 400 a B3DVector3(250.0 260.0 400.0)
and
(50 at 60) + (200 at 400)
50 at 60 + 200 at 400
I was thinking that as @ and + are both binary we evaluate the expression
from left to right
and I was thinking that the result would be decomposed as follow
sel @
rec 50
arg 60 + 200 at 400
sel +
rec 60
arg 200 at 400 =>>> 260 at 400
=>>> B3Vector but this is not
I have the impression that somewhere there is something not uniform but I'
m too tired to see it
Stef
Dr. Stéphane DUCASSE (ducasse at iam.unibe.ch)
http://www.iam.unibe.ch/~ducasse/
"if you knew today was your last day on earth, what would you do
different? ... especially if, by doing something different, today
might not be your last day on earth" Calvin&Hobbes
More information about the Squeak-dev
mailing list
|