So...it sounds as though the problem is problematic API. So the *real* fix is to refactor the underlying MPFR "output string" func to call a 'format to string' helper function, which you can then use for your stringification.
I appreciate that might not be easy/desirable/practical (mimicing the func in perl is probably easier), but hey.
In reply to Re^3: Overloading print()
by jbert
in thread Overloading print()
by syphilis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |