(-) precedence
|
12-08-2022, 04:01 PM
Post: #8
|
|||
|
|||
RE: (-) precedence
Note that keying in 2 +/- is very different from writing -2 in a program. The first essentially creates a variable with the value of -2 while the other throws operator precedence into the mix.
Everyone agrees that : X= -2 X = X^2 should equal 4 (unless you treat ^ as the exclusive or operator...) |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)