News for hackers. Stuff that matters.
Re:How recursion got into Algol 60: a comedy of errors by sgustard on Friday August 28, 2015 @01:24AM (#10133872)
It's equivalent to this recursive function, just change x2(n) to x(n, 2) and so on.

  // e is a power of two
  int mult(x, e)
    return e==1 ? x : mult(x, e/2) + mult(x, e/2)
  end

There are no comments on this comment yet.