.. _getuvalue:

		Get the unsigned value of the Integer, truncate it and handle Overflows.

def getuvalue(self):
		"""
		.. _getuvalue:

		Get the unsigned value of the Integer, truncate it and handle Overflows.
		"""
		bitset = [0] * self.width
		zero = [1] * self.width
		for shift in range(self.width):
			bitset[shift] = (self._value & (1 << shift)) >> shift
		if(self._sign):
			bitset = bitsetxor(zero, bitset)

		value = [ bitset[shift] << shift for shift in range(self.width)]
		return sum(value)