Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Logic gate tier rating

Name: Anonymous 2020-11-24 21:00

S:
NAND
A:
NOR
B:
NOT, AND
C:
OR
D:

E:
XOR
F:
XNOR

Name: Anonymous 2020-11-28 13:31

>>13
the real solution here would be for the compiler to recognize whether it's working on constants known at compile-time and then precompute it.
boolean-tokens isn't a solution to anything,
its a handy tool for constructing logical circuits
with zero overhead; you compile time functions(e.g. C++ constexpr) have potential for bugs and depends
on C++ lexing rules. C preprocessor is simpler,
finite system that can be 100% be relied on.
Try rewriting boolean-tokens.h as C++ constexprs
and you will end with much larger, more complex and
bug-prone header.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List