diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-27 12:51:28 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-27 12:51:28 +0000 |
commit | 77446d45a819cdaede88300f33e1b4c859a1163c (patch) | |
tree | 0f6336e835e38fdeee207f3d9168e5e54d47b3bd /id.h | |
parent | 8a3f0ce44aaa67675f8da477b11c17af767879ed (diff) | |
download | ruby-77446d45a819cdaede88300f33e1b4c859a1163c.tar.gz |
* numeric.c (num_div): should raise ZeroDivisionError.
* numeric.c (fix_divide): ditto.
* test/ruby/test_numeric.rb (TestNumeric::test_divmod): avoid
ZeroDivisionError in tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'id.h')
0 files changed, 0 insertions, 0 deletions