* transcode.c (trans_open_i): check the result of rb_transcoding_open.
[ruby-svn.git] / benchmark / bm_app_tak.rb
blobefe5380f4e979b2d34d44e7bee1a23824c197431
2 def tak x, y, z
3   unless y < x
4     z
5   else
6     tak( tak(x-1, y, z),
7          tak(y-1, z, x),
8          tak(z-1, x, y))
9   end
10 end
12 tak(18, 9, 0)