Order of operations - what is 6÷2(1+2) ?
|
12-30-2020, 05:41 PM
Post: #78
|
|||
|
|||
RE: Order of operations - what is 6÷2(1+2) ?
(12-23-2020 03:14 AM)robve Wrote: Parsers should not consider the - to be part of the number to avoid this flaw. You are right. I peeked at Lua 5.4 source code, llex.c, llex() read_numeral() only allowed to convert non-negative numbers. Code: case '-': { /* '-' or '--' (comment) */ |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)