= private = protected
%(p1)
Returns big modulo other. See Numeric.divmod for more information.
VALUE rb_big_modulo(VALUE x, VALUE y) { VALUE z; if (FIXNUM_P(y)) { y = rb_int2big(FIX2LONG(y)); } else if (!RB_BIGNUM_TYPE_P(y)) { return rb_num_coerce_bin(x, y, '%'); } bigdivmod(x, y, 0, &z); return bignorm(z); }