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

Method sort

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

Source from the content-addressed store, hash-verified

3147 super().__init__(ast, sort, vars)
3148
3149 def sort(self) -> FPSortRef:
3150 s = self._sort
3151 if isinstance(s, FPSortRef):
3152 return s
3153 return FPSortRef(0, 0)
3154
3155 def ebits(self) -> int:
3156 return self.sort().ebits()

Callers 13

ebitsMethod · 0.95
sbitsMethod · 0.95
_ctor_field_layoutMethod · 0.45
test_expression_sortMethod · 0.45
test_fp_sort_methodMethod · 0.45
test_int_varMethod · 0.45
test_nat_varMethod · 0.45
test_bitvec_varMethod · 0.45
test_bv2intMethod · 0.45
test_torealMethod · 0.45
test_tointMethod · 0.45

Calls 1

FPSortRefClass · 0.85

Tested by 9

test_expression_sortMethod · 0.36
test_fp_sort_methodMethod · 0.36
test_int_varMethod · 0.36
test_nat_varMethod · 0.36
test_bitvec_varMethod · 0.36
test_bv2intMethod · 0.36
test_torealMethod · 0.36
test_tointMethod · 0.36