big tings
This commit is contained in:
8
parser/utils/math.go
Normal file
8
parser/utils/math.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package utils
|
||||
|
||||
func Abs(x int) int {
|
||||
if x < 0 {
|
||||
return -x
|
||||
}
|
||||
return x
|
||||
}
|
Reference in New Issue
Block a user