directly test r, s for integer-ness