Apache Commons Math Test Coverage
Look in FractionFormat. They're at least two (minor) bugs in untested code.
FractionFormat