Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BasisResearch/lean.py
/ test_fp_infinity
Method
test_fp_infinity
tests/test_z3_compat.py:1624–1626 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1622
assert v.isNaN()
1623
1624
def
test_fp_infinity(self):
1625
v = fpPlusInfinity(Float64())
1626
assert v.isInf()
1627
1628
def
test_fpval_ast_is_fplit(self):
1629
v = FPVal(3.14)
Callers
nothing calls this directly
Calls
3
fpPlusInfinity
Function · 0.90
Float64
Function · 0.90
isInf
Method · 0.80
Tested by
no test coverage detected