Post Reply 
Order of operations - what is 6÷2(1+2) ?
12-23-2020, 12:38 AM
Post: #69
RE: Order of operations - what is 6÷2(1+2) ?
(12-22-2020 08:03 PM)robve Wrote:  Not so for Basic (all Sharp PC and Visual Basic):
-2^2
-4

... and the always-forgotten-by-most-MoHPC-members HP-71B BASIC as well.

Matter of fact, if I ever saw a BASIC evaluating -2^2 as 4 I'd get rid of it.

V.

  
All My Articles & other Materials here:  Valentin Albillo's HP Collection
 
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Order of operations - what is 6÷2(1+2) ? - Valentin Albillo - 12-23-2020 12:38 AM



User(s) browsing this thread: 6 Guest(s)