You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I haven't done a proper sleuthing before opening this issue. Are logical operations between integers (or even strings) implemented separately in lpython ?
def main0():
a : i32
b : i32
x : i32
y : i32
or_op1 : i32
or_op2 : i32
a = 1
b = 2
x = 3
y = 4
or_op1 = a or b
or_op2 = x or y
print(or_op1,or_op2)
(lp) C:\Users\kunni\lpython>python try.py
1 3
(lp) C:\Users\kunni\lpython>src\bin\lpython try.py
Creating library try.lib and object try.exp
3 7
I'll do a quick similar check for logical and,not etc. and report if they give different results too !