def convert_u_l(self, value_in):
        if value_in >> 31:
            return float(int('0b'+''.join('1' if c == '0' else '0' for c in bin(value_in-1).lstrip('-0b')),2)) * -1.0
        else:
            return float(value_in)
dataset/ETHPy150Open FishPi/FishPi-POCV---Command---Control/fishpi/sensor/GPS_I2C.py/GPS_NavigatronSensor.convert_u_l/original