aboutsummaryrefslogtreecommitdiffstats
path: root/common/math
diff options
context:
space:
mode:
authorKenji Siu <kenji@isuntv.com>2016-11-02 22:58:59 +0800
committerKenji Siu <kenji@isuntv.com>2016-11-02 22:58:59 +0800
commitb522b788b62350d6c931c560758c903ae0f6ac32 (patch)
tree82d9aa053f29adabb7aec67a671151cd30a375b3 /common/math
parent1b73c79234a1597f1f8b11cff5e01b935f6817a2 (diff)
downloaddexon-b522b788b62350d6c931c560758c903ae0f6ac32.tar
dexon-b522b788b62350d6c931c560758c903ae0f6ac32.tar.gz
dexon-b522b788b62350d6c931c560758c903ae0f6ac32.tar.bz2
dexon-b522b788b62350d6c931c560758c903ae0f6ac32.tar.lz
dexon-b522b788b62350d6c931c560758c903ae0f6ac32.tar.xz
dexon-b522b788b62350d6c931c560758c903ae0f6ac32.tar.zst
dexon-b522b788b62350d6c931c560758c903ae0f6ac32.zip
common/math: go fmt
Diffstat (limited to 'common/math')
-rw-r--r--common/math/exp.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/math/exp.go b/common/math/exp.go
index bd6eeb031..3fd31bd76 100644
--- a/common/math/exp.go
+++ b/common/math/exp.go
@@ -7,7 +7,7 @@ import (
)
// wordSize is the size number of bits in a big.Int Word.
-const wordSize = 32 << (uint64(^big.Word(0))>>63)
+const wordSize = 32 << (uint64(^big.Word(0)) >> 63)
// Exp implement exponentiation by squaring algorithm.
//