On 9/2/2010 2:51 PM, Ruud H.G. van Tol wrote:
On 2010-09-02 15:32, Jim wrote:
I was hoping I'd see some answer like... oh yeah... perl is smart enough
to handle that for you if you are willing to accept a performance hit...
My "bigrat" was meant like that. Did you already try it?
#!/usr/bin/perl
use strict;
use warnings;
use bigrat;
<your code>
__END__
Sorry, I glanced over your advice. But both bigrat and bignum both
transparently do what I had hoped for. bigint looks like it truncates to
integers which is not a choice for my current problem.
Does anyone have significant experience with both bigrat and bignum such
that you would advise of use of one over the other. They seem to be very
similar.
Thank you. I'll work use of one of these into a bit of code at a time to
watch for any side effects.
Jim
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/