mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 14:46:42 +00:00
Update exp.go
This commit is contained in:
parent
2c39462828
commit
ab18edbedc
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ import (
|
|||
"github.com/ethereum/go-ethereum/common"
|
||||
)
|
||||
|
||||
// wordSize is the size number of bytes in a big.Int Word.
|
||||
// wordSize is the size number of bits in a big.Int Word.
|
||||
const wordSize = 32 << (uint64(^big.Word(0))>>63)
|
||||
|
||||
// Exp implement exponentiation by squaring algorithm.
|
||||
|
|
|
|||
Loading…
Reference in a new issue