ruby-cvs:16395
From: (ocean) <ocean ruby-lang.org>
Date: Sat, 4 Feb 2006 15:57:58 +0900
Subject: [ruby-cvs:16395] ruby: * numeric.c (fix_to_s): (2**32).to_s(2) fails with exception where
ocean Sat, 4 Feb 2006 15:57:58 +0900
Modified files: (Branch: ruby_1_8)
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.2673.2.1496 +8 -0 ruby/ChangeLog
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ChangeLog?cvsroot=src&r1=1.2673.2.1495&r2=1.2673.2.1496
1.101.2.21 +3 -3 ruby/numeric.c
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/numeric.c?cvsroot=src&r1=1.101.2.20&r2=1.101.2.21