isPositive - return true if x > 0, otherwise false
isPositive
true
x > 0
false
Example: isPositive(-1)
isPositive(-1)
Legal ops:
return !((x & 0x80000000) >> 31 | !x);