Data update
This commit is contained in:
parent
29a5eea0d4
commit
5c1bb7bfa9
2011 changed files with 35081 additions and 3229 deletions
|
|
@ -1,5 +1,4 @@
|
|||
trit = {false: 'F', maybe: 'U', true: 'T'}
|
||||
nand = (a, b) => (a == trit.false || b == trit.false) ? trit.true : (a == trit.maybe || b == trit.maybe) ? trit.maybe : trit.false
|
||||
nand = (a, b) => (a == false || b == false) ? true : (a == undefined || b == undefined) ? undefined : false
|
||||
not = (a) => nand(a, a)
|
||||
and = (a, b) => not(nand(a, b))
|
||||
or = (a, b) => nand(not(a), not(b))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue