This commit is contained in:
aozhiwei 2024-08-07 15:02:42 +08:00
parent 489449c65d
commit b065fccf5c

View File

@ -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
}