To match the builtin `float.as_integer_ratio` This would allow conversion from `longdouble` to `Decimal`, and to `Fraction` if https://bugs.python.org/issue28716 is resolved