Computational order question.


R. Clayton (rclayton@monmouth.edu)
(no date)


  Do we need to take into consideration order of operation when determining
  equality? (I'm guessing yes but hoping no)

Alas, you do. However, as a hint, there's a nice method based on (not
necessarily binary) trees to take order into consideration.

  Would this be no match or a match?
  Block 0 computes value <a+b> for variable <a>. value <a+b> for variable <b>..
  Block 1 computes value <b+a> for variable <a>. value <b+a> for variable <b>.

Because addition is commutative (and associative), this output is incorrect:
a+b is the same as b+a (as is a+(b+c) and c+(b+a)).



This archive was generated by hypermail 2.0b3 on Fri May 09 2003 - 15:30:05 EDT