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

Method as_string

lean_py/z3/core.py:602–603  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

600 return str(Decimal(self._num) / Decimal(self._den))
601
602 def as_string(self) -> str:
603 return f"{self._num}/{self._den}"
604
605 def as_long(self) -> int:
606 return self._num // self._den

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected