10-14-2022, 03:40 AM
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?
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?