On 7/23/06, Mathieu Bouchard <matju / artengine.ca> wrote:
> On Thu, 20 Jul 2006, Nikolai Weibull wrote:
>
> > Also, why is there no way of creating a Bignum, e.g., rb_big_new()?
>
> do this:
>
>    VALUE foo = rb_funcall((VALUE)3,rb_intern("<<"),INT2NUM(n));

Yuck, that's really nasty (it's a solution, however).  (INT2FIX() is
sufficient, though).

  nikolai