2 unstable releases
0.1.0 | Nov 25, 2020 |
---|---|
0.0.0 | Nov 24, 2020 |
#1373 in Math
7KB
203 lines
Gates
Gates is a simple library to simulate logical gates.
gates:
- and
- or
- not
- xor
- nand
- nor
example
assert_eq!(not(and(1, 0)), nand(Signal::On, Signal::Off));