This commit is contained in:
cuu
2018-09-10 14:03:18 +08:00
parent 91d573573f
commit 3c0884c2d7
7 changed files with 31 additions and 20 deletions

View File

@@ -11,7 +11,7 @@ import (
"github.com/cuu/LauncherGo/sysgo"
)
func abs(n int) int {
func Abs(n int) int {
y := n >> 63
return (n ^ y) - y
}