mirror of
https://gitee.com/johng/gf.git
synced 2024-12-06 06:08:38 +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)
|
|
|
|
} |