pylab_ml.common.data.complement2

complement2(value, bits)[source]

2’s complement representation from a value with number of bits.