Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re (tilly) 1: In theory, theory and practice are the same...

by ariels (Curate)
on Apr 11, 2001 at 10:55 UTC ( #71603=note: print w/ replies, xml ) Need Help??


in reply to Re (tilly) 1: In theory, theory and practice are the same...
in thread Binomial Expansion

Perl computes floating-point using doubles, which typically have a 48 bit mantissa. 4-byte ints have just 32 bits of precision, so it's natural that doubles have a larger integer range than ints! So you can pretend Perl has 48-bit integers for most purposes.

It's still not a good idea to compute huge numbers and try to cancel them out. Especially when not doing this takes fewer operations.

  • Comment on Re: Re (tilly) 1: In theory, theory and practice are the same...

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2016-06-25 05:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (323 votes). Check out past polls.