mirror of
https://github.com/clockworkpi/LauncherGoDev.git
synced 2026-03-19 18:32:49 +01:00
abs=>Abs
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user