RealFrac instance.  Some twiddles from who knows when.