Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Non-recursive Ackermann

by BrowserUk (Pope)
on Feb 04, 2011 at 09:52 UTC ( #886168=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub ackermann_c {
        use constant INF =>  exp(~0 >> 1);
    ...
        $r = 2**$r while --$p;
        return $r - 3;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (11)
As of 2014-12-28 02:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (178 votes), past polls