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.
Resize argument to given width. Appropriate extension is performed.
Sourceval truncate : t -> width:int -> (t, t) Hardcaml_kernel__.Comb_intf.with_valid2 Reduce the width of t to width bits. The result is valid if the value fits within width bits.