Feature #3067: complex.c : Question: why Complex#~ is disabled? It's in the doc
http://redmine.ruby-lang.org/issues/show/3067

Author: Benoit Daloze
Status: Open, Priority: Normal
Category: ext, Target version: 1.9.2

Hi, this is more of a question than a bug, feature or whatever,
  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

gcc would have problems with it? why?

Fixnum#~ and Bignum#~ are not commented and work right.

Maybe the method should be added at a higher level, if possible, if it is a compiler issue ?

B.D.


----------------------------------------
http://redmine.ruby-lang.org