/* * call-seq: * num.div(numeric) => integer * * Uses <code>/</code> to perform division, then converts the result to * an integer. <code>Numeric</code> does not define the <code>/</code> * operator; this is left to subclasses. */ static VALUE num_div(x, y) VALUE x, y; { return rb_Integer(rb_funcall(x, '/', 1, y)); }