ratepsilon



I want to "rationalize" a complex number, but I don't want to rationalize the real & imaginary parts separately, because this won't convert 1.0+%i*1.0e-10 into 1.

ratepsilon isn't helping here.

Any suggestions?

Thanks in advance.