in reply to bignum usage?
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.
|
|---|