I am reading data from a sensor over an i2c line, and I receive a 16 bit word that represents a signed integer using 2\'s complement. I know there is a sane way to do this,