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

Function fpToReal

lean_py/z3/core.py:3458–3459  ·  view source on GitHub ↗
(a: FPRef, ctx: Context | None = None)

Source from the content-addressed store, hash-verified

3456
3457# FP conversions
3458def fpToReal(a: FPRef, ctx: Context | None = None) -> ArithRef:
3459 return ArithRef(AppNode(_AstVar("fpToReal"), (a._ast,)), RealSort(), a._vars)
3460
3461
3462def fpToSBV(rm: FPRMRef, a: FPRef, sort: BitVecSortRef, ctx: Context | None = None) -> BitVecRef:

Callers 1

test_fp_to_realMethod · 0.90

Calls 3

AppNodeClass · 0.90
ArithRefClass · 0.85
RealSortFunction · 0.85

Tested by 1

test_fp_to_realMethod · 0.72