((a=b)*-1)|([a = 4,b = 3]) => -1 ?
Publié : sam. mai 11, 2024 11:13 pm
Hello
with autosimplify flag: none
((a=b)*-1 [enter] returns -a=(-b)
((a>b)*-1 [enter] returns (-b)>(-a)
((a=b)*-1)|([a = 4,b = 3]) [enter] returns (-4=-3)
((a>b)*-1)|([a = 4,b = 3]) [enter] returns (true)*-1 => -1 ? // Shouldn't the left side be resolved first?
((a>b)*-1)|([a = 4,b = 3]) => (-b)>(-a)|([a = 4,b = 3]) => -3 >-4 => true
I think the left side should do a low-level evaluation before replacing what the right side indicates.
with autosimplify flag: none
((a=b)*-1 [enter] returns -a=(-b)
((a>b)*-1 [enter] returns (-b)>(-a)
((a=b)*-1)|([a = 4,b = 3]) [enter] returns (-4=-3)
((a>b)*-1)|([a = 4,b = 3]) [enter] returns (true)*-1 => -1 ? // Shouldn't the left side be resolved first?
((a>b)*-1)|([a = 4,b = 3]) => (-b)>(-a)|([a = 4,b = 3]) => -3 >-4 => true
I think the left side should do a low-level evaluation before replacing what the right side indicates.