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

Method test_fp_abs

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

Source from the content-addressed store, hash-verified

3884 assert isinstance(result, FPRef)
3885
3886 def test_fp_abs(self):
3887 x = FP("x", Float32())
3888 result = fpAbs(x)
3889 assert isinstance(result, FPRef)
3890
3891 def test_fp_sqrt(self):
3892 x = FP("x", Float32())

Callers

nothing calls this directly

Calls 3

FPFunction · 0.90
Float32Function · 0.90
fpAbsFunction · 0.90

Tested by

no test coverage detected