--- In [email protected], "Brett W. McCoy" <[EMAIL PROTECTED]> wrote: > > On 9/14/07, Saurabh Jain <[EMAIL PROTECTED]> wrote: > > > > Le me throw in my 2p too... > > > > > > Putting a+b as a - ( -b ) is not impressive. > > > > Hmmm... I think it was +b sign being replaced by (-(-(b)). Why would > > that change anything? I did not quite get it. I assume replacing + > > with -- above does not modify the value of b in any way. Does it? > > Placing a - in front of b does not modify it, it just returns the > negation of b (where b + -b = 0, basic 7th grade or 8th grade math) > Note this is not the same as --b, the pre-decrement operator which > does modify b. > True, but the question was never related to the decrement operator. Was it? I though it was limited to replacing a "+b" with (-( -(b)).
Implying : b--; a+b; or a-(-(b)); will give the same result isnt it? ~Saurabh
