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

Method test_fp_to_ubv

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

Source from the content-addressed store, hash-verified

3937 assert isinstance(result, BitVecRef)
3938
3939 def test_fp_to_ubv(self):
3940 x = FP("x", Float32())
3941 result = fpToUBV(RNE(), x, BitVecSort(32))
3942 assert isinstance(result, BitVecRef)
3943
3944 def test_fp_to_fp(self):
3945 x = FP("x", Float32())

Callers

nothing calls this directly

Calls 5

FPFunction · 0.90
Float32Function · 0.90
fpToUBVFunction · 0.90
RNEFunction · 0.90
BitVecSortFunction · 0.90

Tested by

no test coverage detected