Unit test for float/double rounding.