add more code
[nmigen-type-annotations.git] / nmigen / tools.pyi
1 def log2_int(n: int, need_pow2: bool = True) -> int:
2 ...
3
4
5 def bits_for(n: int, require_sign_bit: bool = False) -> int:
6 ...