1
This commit is contained in:
parent
489449c65d
commit
b065fccf5c
@ -370,3 +370,12 @@ func ReadTextFile(fileName string) (string, error) {
|
||||
func IsDebug() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
func PowInt64(base int64, exponent int64) int64 {
|
||||
var result int64 = 1
|
||||
var i int64 = 0
|
||||
for ; i < exponent; i++ {
|
||||
result *= base
|
||||
}
|
||||
return result
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user