Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ByteArena/box2d
/ AbsInt
Function
AbsInt
CommonUtils.go:17–23 ·
view source on GitHub ↗
(v int)
Source
from the content-addressed store, hash-verified
15
}
16
17
func
AbsInt(v int) int {
18
if
v < 0 {
19
return
v * -1
20
}
21
22
return
v
23
}
Callers
1
GetMaxBalance
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected