mirror of
https://gitee.com/johng/gf.git
synced 2024-12-05 21:59:05 +08:00
14 lines
168 B
Go
14 lines
168 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"math"
|
|
)
|
|
|
|
|
|
func main() {
|
|
i := uint(math.MaxUint64)
|
|
fmt.Println(int(i&0x7fffffffffffffff))
|
|
fmt.Println(math.MaxInt64)
|
|
|
|
} |