summaryrefslogtreecommitdiffstats
path: root/rational.c
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-14 18:53:40 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-14 18:53:40 +0000
commit603e226d2dbffd3a91bbcf47775e8137a9889ff2 (patch)
tree1f1c3bfccf90207a542fce694d9040315457bfe1 /rational.c
parent6e34d588eca9bcd8bee206ae6ad2baa3e327b968 (diff)
downloadruby-603e226d2dbffd3a91bbcf47775e8137a9889ff2.tar.gz
ruby-603e226d2dbffd3a91bbcf47775e8137a9889ff2.tar.xz
ruby-603e226d2dbffd3a91bbcf47775e8137a9889ff2.zip
* hash.c (rb_hash): always return a fixnum value because a return
value of rb_hash may be used as a hash value itself and bignums have no unique VALUE. * test/ruby/test_hash.rb: add a test for above. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'rational.c')
0 files changed, 0 insertions, 0 deletions