SIZEOF_INT := 31
abs := fn(x: int): int {
mask := x >> SIZEOF_INT
return (x ^ mask) - mask
}
min := fn(a: int, b: int): int {
c := a - b
return b + (c & c >> SIZEOF_INT)
max := fn(a: int, b: int): int {
return a - (c & c >> SIZEOF_INT)