mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-02-24 09:48:24 +00:00
remove log2 spurious comment
This commit is contained in:
parent
f50bb57eb6
commit
24bcb3b2d8
@ -13,7 +13,6 @@ import
|
||||
# some methods based on py-evm utils/numeric
|
||||
|
||||
func log2*[bits: static int](value: StUint[bits]): Natural {.inline.}=
|
||||
# TODO: do we use ln for log2 like Nim convention?
|
||||
(bits - 1) - value.countLeadingZeroBits
|
||||
|
||||
func log256*(value: UInt256): Natural {.inline.}=
|
||||
|
Loading…
x
Reference in New Issue
Block a user