ruby-cvs:16396
From: (ocean) <ocean ruby-lang.org>
Date: Sat, 4 Feb 2006 15:58:44 +0900
Subject: [ruby-cvs:16396] ruby: * numeric.c (fix_to_s): (2**32).to_s(2) fails with exception where
ocean Sat, 4 Feb 2006 15:58:44 +0900
Modified files:
ruby:
ChangeLog numeric.c
Log:
* numeric.c (fix_to_s): (2**32).to_s(2) fails with exception where
sizeof(int) == 4 < sizeof(long). [ruby-core:7300]
I think the function name of rb_int2big is quite misleading.
This should be "rb_long2big".
Revision Changes Path
1.4928 +8 -0 ruby/ChangeLog
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ChangeLog?cvsroot=src&r1=1.4927&r2=1.4928
1.135 +3 -3 ruby/numeric.c
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/numeric.c?cvsroot=src&r1=1.134&r2=1.135