ERROR IN EXPRESSION; -1 - (-1) not 1 - (-1)

J

Joona I Palaste

der said:
The expression isn't a = 1 - (1-), but: a = -1 - (1)

Ah, that's different, then. Then the answer is: The result will be -2.
You have *no* guarantees about which of -1 or (1) is evaluated first,
but as they don't have side effects, you don't have to care.

--
/-- Joona Palaste ([email protected]) ---------------------------\
| Kingpriest of "The Flying Lemon Tree" G++ FR FW+ M- #108 D+ ADA N+++|
| http://www.helsinki.fi/~palaste W++ B OP+ |
\----------------------------------------- Finland rules! ------------/
"To doo bee doo bee doo."
- Frank Sinatra
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top