Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 learning in the Monastery: (6)
As of 2024-05-21 20:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found