Replace
use Math::BigRat; # Useless use bignum; # Uses M::BigInt and M::BitFloat
with
oruse bignum upgrade => "Math::BigRat";
use bigrat;
I don't think they're equivalent -- the former initially creates M::BigInt objects and switches to M::BigRat when necessary, but I think the latter uses M::BitRat objects from the start -- but they have the same result here.
In reply to Re: bignum usage?
by ikegami
in thread bignum usage?
by rkd257
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |