![]() |
|
Perl Monk, Perl Meditation | |
PerlMonks |
Re^4: bignum usage?by syphilis (Archbishop) |
on Nov 24, 2023 at 10:29 UTC ( [id://11155788]=note: print w/replies, xml ) | Need Help?? |
... avoid using bignum. That's the rule that I live by. To be fair, however, bignum is quite possibly easier to use than I think. One just has to be aware of all the caveats ;-) UPDATE: i.e. object of the same class, with the same properties, same global parameters, but result is different. I think the difference occurs because the "bignum" division is done by Math::BigFloat::bdiv, whereas the "bigint" division is done by Math::BigInt::bdiv. Cheers, Rob
In Section
Seekers of Perl Wisdom
|
|