MCPcopy Create free account
hub / github.com/BasisResearch/lean.py / SRem

Function SRem

lean_py/z3/core.py:1639–1641  ·  view source on GitHub ↗

Signed remainder.

(a: BitVecRef, b: BitVecRef | int)

Source from the content-addressed store, hash-verified

1637
1638
1639def SRem(a: BitVecRef, b: BitVecRef | int) -> BitVecRef:
1640 """Signed remainder."""
1641 return a._binop(BinOp.SREM, b)
1642
1643
1644def AShr(a: BitVecRef, b: BitVecRef | int) -> BitVecRef:

Callers 3

test_sremMethod · 0.90
test_srem_astMethod · 0.90
test_srem_positiveMethod · 0.90

Calls 1

_binopMethod · 0.45

Tested by 3

test_sremMethod · 0.72
test_srem_astMethod · 0.72
test_srem_positiveMethod · 0.72