[ruby-cvs:63644] nobu:r56479 (trunk): complex.c: undefine clamp
nobu at ruby-lang.org
nobu at ruby-lang.org
Mon Oct 24 10:19:46 JST 2016
nobu 2016-10-24 10:19:46 +0900 (Mon, 24 Oct 2016)
New Revision: 56479
https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56479
Log:
complex.c: undefine clamp
* complex.c (Init_Complex): undefine Complex#clamp, which does not
work like other Comparable methods, because Complex does not
have <=> method. patched by Tim Peters <zomg.tim AT gmail.com>
in [ruby-core:77720]. [Bug #12866]
Modified files:
trunk/ChangeLog
trunk/complex.c
trunk/test/ruby/test_complex.rb
More information about the ruby-cvs
mailing list