projects
/
nmigen-type-annotations.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
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
...