rational

Find an approximate fraction with smaller components.

This uses the same method as rational.c in the Linux kernel.

RESULT = ...

ERROR = ...