* transcode_data.h (rb_transcoder): add resetstate_func field for
[ruby-svn.git] / benchmark / bm_app_tarai.rb
blob4c146f5ccf885f6ad7958d36e94af17a4815bed8
1 def tarai( x, y, z )
2   if x <= y
3   then y
4   else tarai(tarai(x-1, y, z),
5              tarai(y-1, z, x),
6              tarai(z-1, x, y))
7   end
8 end
10 tarai(12, 6, 0)