Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


in reply to Re^3: bignum usage?
in thread bignum usage?

... 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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11155788]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2025-06-13 13:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.