benchmarks for rational arithmetic