MCPcopy Index your code
hub / github.com/apache/groovy / tak

Method tak

benchmark/bench/recursive.java:45–49  ·  view source on GitHub ↗
(int x, int y, int z)

Source from the content-addressed store, hash-verified

43 }
44
45 public static int tak(int x, int y, int z)
46 {
47 if (y >= x) return z;
48 return tak(tak(x - 1, y, z), tak(y - 1, z, x), tak(z - 1, x, y));
49 }
50
51 public static double tak(double x, double y, double z)
52 {

Callers 1

mainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected