order of logical operations in CAS
|
10-14-2022, 03:40 AM
(This post was last modified: 10-14-2022 03:41 AM by Wes Loewer.)
Post: #1
|
|||
|
|||
order of logical operations in CAS
I noticed that in Home A OR B AND C is treated as A OR (B AND C) as expected with AND having a higher precedence than OR.
However, in CAS a OR b AND c is treated as (a OR b) AND c, evaluating left to right with AND and OR having the same precedence. For example: Home: true OR false AND false --> 1 CAS (and XCAS) true OR false AND false --> false Is this a bug, or is this the intended behavior? |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
order of logical operations in CAS - Wes Loewer - 10-14-2022 03:40 AM
RE: order of logical operations in CAS - parisse - 10-14-2022, 06:18 AM
RE: order of logical operations in CAS - Wes Loewer - 10-14-2022, 01:36 PM
|
User(s) browsing this thread: 3 Guest(s)