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

Method test_fp_sort_method

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

Source from the content-addressed store, hash-verified

3989 assert isinstance(x >= y, BoolRef)
3990
3991 def test_fp_sort_method(self):
3992 x = FP("x", Float32())
3993 s = x.sort()
3994 assert isinstance(s, FPSortRef)
3995 assert s.ebits() == 8
3996
3997 def test_fp_ebits_sbits(self):
3998 x = FP("x", Float64())

Callers

nothing calls this directly

Calls 4

FPFunction · 0.90
Float32Function · 0.90
sortMethod · 0.45
ebitsMethod · 0.45

Tested by

no test coverage detected