Dumb math functions.