ekmett / ersatz

A monad for interfacing with external SAT solvers
Other
63 stars 15 forks source link

document overflow semantics of Num instances of Bit{1,2,s} #19

Open jwaldmann opened 8 years ago

jwaldmann commented 8 years ago

There are Num instances for Bit1, Bit2, Bits. Semantics should be clarified: how do the handle overflow?

It seems

There is one other option (that I need in some applications):