Project

General

Profile

Actions

Feature #3067

closed

complex.c : Question: why Complex#~ is disabled? It's in the doc

Added by Eregon (Benoit Daloze) over 14 years ago. Updated about 10 years ago.

Status:
Closed
Target version:
[ruby-core:29167]

Description

=begin
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.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0