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

Function fpRealToFP

lean_py/z3/core.py:3494–3499  ·  view source on GitHub ↗
(rm: FPRMRef, a: ArithRef, sort: FPSortRef, ctx: Context | None = None)

Source from the content-addressed store, hash-verified

3492
3493
3494def fpRealToFP(rm: FPRMRef, a: ArithRef, sort: FPSortRef, ctx: Context | None = None) -> FPRef:
3495 return FPRef(
3496 AppNode(_AstVar("fpRealToFP"), (rm._ast, a._ast)),
3497 sort,
3498 _merge(rm._vars, a._vars),
3499 )
3500
3501
3502def fpSignedToFP(rm: FPRMRef, a: ExprRef, sort: FPSortRef, ctx: Context | None = None) -> FPRef:

Callers 1

test_fp_real_to_fpMethod · 0.90

Calls 3

AppNodeClass · 0.90
FPRefClass · 0.85
_mergeFunction · 0.85

Tested by 1

test_fp_real_to_fpMethod · 0.72