Table of Contents
compute the 2’s complement of val.
val (int) – the value to compute the two’s complement for
bits (int) – size of val in bits