isNegInt, isPosInt, fully tested by now