toTwosComplement
Callable
Parameters
value: Numbers
The value to be converted.
nibbleWidth: number = 64
The nibble width of the hex string (default is 64).
Returns string
The hex string of the two’s complement.
The value to be converted.
The nibble width of the hex string (default is 64).
The hex string of the two’s complement.
Converts a negative number into the two’s complement and return a hexstring of 64 nibbles.