Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Peter John Acklam
August 26, 2009, 6:13 pm
rate this thread
I have written a sprintf() implementation which handles
Math::BigInt and Math::BigFloat objects. (It does handle ordinary
Perl numbers and strings too, so with only a few exceptions it can
be used as a drop-in for CORE::sprintf.)
Now I am wondering: What is the best way to implement it so it is
most useful? What namespace should I use? Should it be a function
or a method? Math::BigInt::sprintf()? Math::BigInt->bsprintf()?
Suggestions are highly welcome.
~/.signature: No such file or directory