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

Method test_fp_to_real

tests/test_z3_ported.py:3929–3932  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3927 assert isinstance(fpIsPositive(x), BoolRef)
3928
3929 def test_fp_to_real(self):
3930 x = FP("x", Float32())
3931 result = fpToReal(x)
3932 assert isinstance(result, ArithRef)
3933
3934 def test_fp_to_sbv(self):
3935 x = FP("x", Float32())

Callers

nothing calls this directly

Calls 3

FPFunction · 0.90
Float32Function · 0.90
fpToRealFunction · 0.90

Tested by

no test coverage detected