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

Function fpAdd

lean_py/z3/core.py:3363–3364  ·  view source on GitHub ↗
(rm: FPRMRef, a: FPRef, b: FPRef, ctx: Context | None = None)

Source from the content-addressed store, hash-verified

3361
3362# FP arithmetic
3363def fpAdd(rm: FPRMRef, a: FPRef, b: FPRef, ctx: Context | None = None) -> FPRef:
3364 return _fp_op("fpAdd", rm, a, b)
3365
3366
3367def fpSub(rm: FPRMRef, a: FPRef, b: FPRef, ctx: Context | None = None) -> FPRef:

Callers 6

test_fp_addMethod · 0.90
test_fp_add_groundMethod · 0.90
test_addMethod · 0.90
test_add_zeroMethod · 0.90
__add__Method · 0.85
__radd__Method · 0.85

Calls 1

_fp_opFunction · 0.85

Tested by 4

test_fp_addMethod · 0.72
test_fp_add_groundMethod · 0.72
test_addMethod · 0.72
test_add_zeroMethod · 0.72