ruby-cvs:23669
From: matz ruby-lang.org
Date: Fri, 16 May 2008 13:17:47 +0900 (JST)
Subject: [ruby-cvs:23669] Ruby:r16429 (trunk): * math.c (to_flo): rb_Float() accepts even strings for input.
matz 2008-05-16 13:17:45 +0900 (Fri, 16 May 2008)
New Revision: 16429
Modified files:
trunk/ChangeLog
trunk/complex.c
trunk/math.c
trunk/object.c
trunk/test/ruby/test_float.rb
trunk/version.h
Log:
* math.c (to_flo): rb_Float() accepts even strings for input.
* complex.c (nucomp_to_f): fix wrong message.
* complex.c (nucomp_to_r): ditto.
* object.c (rb_Float): do not check NaN for error. NaN is a part
of valid float values.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/version.h?r1=16429&r2=16428&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/math.c?r1=16429&r2=16428&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/complex.c?r1=16429&r2=16428&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=16429&r2=16428&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/ruby/test_float.rb?r1=16429&r2=16428&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/object.c?r1=16429&r2=16428&diff_format=u