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

Function fpToSBV

lean_py/z3/core.py:3462–3465  ·  view source on GitHub ↗
(rm: FPRMRef, a: FPRef, sort: BitVecSortRef, ctx: Context | None = None)

Source from the content-addressed store, hash-verified

3460
3461
3462def fpToSBV(rm: FPRMRef, a: FPRef, sort: BitVecSortRef, ctx: Context | None = None) -> BitVecRef:
3463 return BitVecRef(
3464 AppNode(_AstVar("fpToSBV"), (rm._ast, a._ast)), sort, _merge(rm._vars, a._vars)
3465 )
3466
3467
3468def fpToUBV(rm: FPRMRef, a: FPRef, sort: BitVecSortRef, ctx: Context | None = None) -> BitVecRef:

Callers 1

test_fp_to_sbvMethod · 0.90

Calls 3

AppNodeClass · 0.90
BitVecRefClass · 0.85
_mergeFunction · 0.85

Tested by 1

test_fp_to_sbvMethod · 0.72