Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 pondering the Monastery: (11)
As of 2016-09-29 15:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (555 votes). Check out past polls.