Fix src/tests/interval/CMakeLists.txt to have different test names
Clean up interval check function
Optimize interval functions to reduce rounding-mode switches