Hi,

2010/4/1 Benoit Daloze <redmine / ruby-lang.org>:
>  but I wonder why Complex#~ has been removed ?
>
> I can read in complex.c:
> #if 0
>    rb_define_method(rb_cComplex, "~", nucomp_conj, 0); /* gcc */
> #endif


The above definition of Complex#~ returns conjugate complex,
while Fixnum#~ and Bignum#~ are bit inversion operators.
I don't know a suitable definition of bit inversion against
Complex.

But I also wonder what the comment /* gcc */ means.

-- 
Yusuke ENDOH <mame / tsg.ne.jp>