Open jonathanrlouie opened 4 years ago
For #29: TODO lib
This adds Bits.sub and some unit tests for it. I looked around at some other implementations (like in Agda) and it seems like it is common to return 0 when a < b, so that's how I've implemented it here.
For #29: TODO lib
This adds Bits.sub and some unit tests for it. I looked around at some other implementations (like in Agda) and it seems like it is common to return 0 when a < b, so that's how I've implemented it here.