It wasn't clear that you've looked at its implementation of arbitrary precision floating point numbers without using floating point numbers and found it wanting.
That's why I asked the question in the first place. Best case scenario - someone has already implemented such functionality in JavaScript (with complex numbers). But I think that this is not the case. So I guess this leads to the case of porting from some other language.