MCPcopy 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

fpPlusInfinityFunction · 0.90
Float64Function · 0.90
isInfMethod · 0.80

Tested by

no test coverage detected