Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: May I be bitten by floating point arithmetic in the following restricted case?

by kennethk (Abbot)
on Feb 23, 2010 at 18:46 UTC ( #824918=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for (1 .. 2**10) {
        my $size = 2**$_;
        print "Fail $_ high\n" if (log((2**$_ - 1)) / log(2) ) == $_;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2015-09-01 07:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (367 votes), past polls