*(p1) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
static VALUE
nurat_mul(VALUE self, VALUE other)
    switch (TYPE(other)) {
      case T_FIXNUM:
      case T_BIGNUM:

            return f_muldiv(self,
                            dat->num, dat->den,
                            other, ONE, '*');
      case T_FLOAT:
        return f_mul(f_to_f(self), other);
      case T_RATIONAL:
            get_dat2(self, other);

            return f_muldiv(self,
                            adat->num, adat->den,
                            bdat->num, bdat->den, '*');
        return rb_num_coerce_bin(self, other, '*');
Register or log in to add new notes.