This website requires JavaScript.
Explore
Help
Sign In
logos-co
/
nomos-pocs
mirror of
https://github.com/logos-co/nomos-pocs.git
Watch
1
Star
0
Fork
You've already forked nomos-pocs
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
c1f1ae3fb2
nomos-pocs
/
da
/
kzg_rs
/
utils.py
6 lines
105 B
Python
Raw
Blame
History
POWERS_OF_2
=
{
2
*
*
i
for
i
in
range
(
1
,
32
)
}
def
is_power_of_two
(
n
)
-
>
bool
:
return
n
in
POWERS_OF_2
Reference in New Issue
View Git Blame
Copy Permalink