chiark / gitweb /
XOR, NAND, and NOR
authorBen Harris <bjh21@bjh21.me.uk>
Sat, 11 May 2024 13:54:43 +0000 (14:54 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Sat, 11 May 2024 13:54:43 +0000 (14:54 +0100)
We've got AND and OR, so may as well have the rest.

bedstead.c

index 28957cba20013c0bdd9743cc51e0ff321e5c8d13..1d4ce7f00e23edf687e636b833dc73e67f3a8532 100644 (file)
@@ -1437,6 +1437,9 @@ static struct glyph {
  {{000,024,024,027,024,024,000,000,000}, U(22A9) }, /* forces */
  {{000,024,027,024,027,024,000,000,000}, U(22AB) }, /* dbl v dbl rt tstile */
  {{000,000,002,035,002,000,000,000,000}, U(22B8) }, /* multimap */
+ {{000,021,012,004,000,037,000,000,000}, U(22BB) }, /* xor */
+ {{000,037,000,004,012,021,000,000,000}, U(22BC) }, /* nand */
+ {{000,037,000,021,012,004,000,000,000}, U(22BD) }, /* nor */
  {{016,021,021,021,021,021,021,021,021}, U(22C2) }, /* n-ary intersection */
  {{021,021,021,021,021,021,021,021,016}, U(22C3) }, /* n-ary union */
  {{000,004,012,021,012,004,000,000,000}, U(22C4) }, /* diamond operator */