This function computes an approximation of the form M*10^E to
a rational number X and to within a maximum specified relative error.
RelErr says indirectly how many decimal digits to include in the
mantissa. Compare with MantissaAndExponent.