Casio anomaly or gremlin or bug...
|
09-06-2017, 02:11 AM
Post: #19
|
|||
|
|||
RE: Casio anomaly or gremlin or bug...
Operator precedence, along with cut 'n paste, always trips up programmers. This brings to mind Iverson's solution to the many weird functions and operators in APL - there is no defined precedence. The order of evaluation is "more or less" right to left with parentheses serving to provide some ordering of evaluation. Hence
2 * 3 + 4 = 2 * 7 = 14 or 6/2(1+2) = 6/2*3 = 6/6 = 1 No need to memorize which squiggly symbol outranks another. Hard enough as it is to remember what each symbol does... Good for Ken! ~Mark Remember kids, "In a democracy, you get the government you deserve." |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)