Minor reorganization of arithmetic utility functions.

Rename "round.hpp"/"round.cpp" to "arithmetic.hpp"/"arithmetic.cpp", and
place both rounding function and arithmetic safety checking function
into this "module".