def __ge__(self, other: "BitVec") -> Bool: """Create a signed greater than or equal to expression. :param other: The int or BitVec to compare to this BitVecFunc :return: The resulting Bool """ return Or(self > other, self == other)
def UGE(a: BitVec, b: BitVec) -> Bool: """Create an unsigned greater or equals expression. :param a: :param b: :return: """ return Or(UGT(a, b), a == b)
def ULE(a: BitVec, b: BitVec) -> Bool: """Create an unsigned less than expression. :param a: :param b: :return: """ return Or(ULT(a, b), a == b)
def __ge__(self, other: Union[int, "BitVec"]) -> Bool: """Create a signed greater than or equal to expression. :param other: The int or BitVec to compare to this BitVecFunc :return: The resulting Bool """ if not isinstance(other, BitVec): other = BitVec(z3.BitVecVal(other, self.size())) return Or(self > other, self == other)