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

Method test_fp_comparisons

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

Source from the content-addressed store, hash-verified

3909 assert isinstance(fpMax(x, y), FPRef)
3910
3911 def test_fp_comparisons(self):
3912 x, y = FPs("x y", Float32())
3913 assert isinstance(fpLEQ(x, y), BoolRef)
3914 assert isinstance(fpLT(x, y), BoolRef)
3915 assert isinstance(fpGEQ(x, y), BoolRef)
3916 assert isinstance(fpGT(x, y), BoolRef)
3917 assert isinstance(fpEQ(x, y), BoolRef)
3918
3919 def test_fp_predicates(self):
3920 x = FP("x", Float32())

Callers

nothing calls this directly

Calls 7

FPsFunction · 0.90
Float32Function · 0.90
fpLEQFunction · 0.90
fpLTFunction · 0.90
fpGEQFunction · 0.90
fpGTFunction · 0.90
fpEQFunction · 0.90

Tested by

no test coverage detected