Module: Kernel
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#tarai(x, y, z) ⇒ Integer
computes the tarai function in recursive (naive) manner.
Instance Method Details
#tarai(x, y, z) ⇒ Integer
computes the tarai function in recursive (naive) manner.
47 48 49 50 51 |
# File 'ext/tarai.c', line 47
static VALUE
tarai_m(VALUE self, VALUE x, VALUE y, VALUE z)
{
return LONG2NUM(tarai(NUM2LONG(x), NUM2LONG(y), NUM2LONG(z)));
}
|