"Arduino/git@forgeb1.univ-lehavre.fr:pr172488/palu-iot.git" n'existait pas sur "f365ae8284073321a3b98d7930cd4d57b99ee2bf"
Newer
Older
if u.op == '-' and len(u.args) == 1:
return u.args[0] # --y ==> y
if u == 0 or v == 0:
return 0
if u == 1:
if u == 0:
return 0
if v == 0:
return 1
if u == 1:
return 1
if v == 1:
else:
raise ValueError("Unknown op: " + op)
# If we fall through to here, we can not simplify further
return Expr(op, *args)
def d(y, x):