Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BasisResearch/lean.py
/ test_fp_neg
Method
test_fp_neg
tests/test_z3_ported.py:3881–3884 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
3879
assert isinstance(result, FPRef)
3880
3881
def
test_fp_neg(self):
3882
x = FP(
"x"
, Float32())
3883
result = fpNeg(x)
3884
assert isinstance(result, FPRef)
3885
3886
def
test_fp_abs(self):
3887
x = FP(
"x"
, Float32())
Callers
nothing calls this directly
Calls
3
FP
Function · 0.90
Float32
Function · 0.90
fpNeg
Function · 0.90
Tested by
no test coverage detected