mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-25 14:08:27 -04:00
simpler expression for expression format setting
This commit is contained in:
parent
38ea567589
commit
097e48faf1
@ -58,8 +58,7 @@ public class FormatToExpression implements Formatter {
|
||||
static {
|
||||
Variable a = v("A");
|
||||
Variable b = v("B");
|
||||
Variable c = v("C");
|
||||
TOSTRING_EXPR = or(and(a, not(b), c), and(a, not(b), not(c)), Constant.ZERO);
|
||||
TOSTRING_EXPR = or(and(a, not(b)), and(not(a), b), Constant.ZERO);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user