APIdock / Ruby
/
method

fdiv

ruby latest stable - Class: Complex
fdiv(p1)
public

Performs division as each part is a float, never returns a float.

Complex (11, 22).fdiv (3) #=> (3.6666666666666665+7.333333333333333i)
static VALUE
nucomp_fdiv(VALUE self, VALUE other)
{
 return f_divide(self, other, f_fdiv, id_fdiv);
}

AltStyle によって変換されたページ (->オリジナル) /