Addition. Arguments are extended appropriately and result is 1 bit wider to avoid truncation.
Subtraction. Arguments are extended appropriately and result is 1 bit wider to avoid truncation.
Comparison operations
Arguments need not be the same width.
val resize : t -> int -> tResize argument to given width. Appropriate extension is performed.
val truncate : t -> width:int -> (t, t) Hardcaml__.Comb_intf.with_valid2Reduce the width of t to width bits. The result is valid if the value fits within width bits.