diff options
author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-28 14:39:31 +0000 |
---|---|---|
committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-28 14:39:31 +0000 |
commit | ff0f7a7651373d33275b26881d5aa89b4750c98a (patch) | |
tree | 428588c6b04e20282f9b617a1cad3e46ad966127 /ChangeLog | |
parent | 5a50aceb7243c6bd636cb615778214722d0593ab (diff) | |
download | ruby-ff0f7a7651373d33275b26881d5aa89b4750c98a.tar.gz ruby-ff0f7a7651373d33275b26881d5aa89b4750c98a.tar.xz ruby-ff0f7a7651373d33275b26881d5aa89b4750c98a.zip |
* complex.c (nucomp_div): raises ZeroDivisionError immediately
when the given second argument is zero.
* rational.c (nurat_fdiv): never raise even if the given second
argument is zero.
* rational.c (rb_raise_zerodiv): changed the message (zero to 0).
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,13 @@ +Sun Jun 28 23:32:11 2009 Tadayoshi Funaba <tadf@dotrb.org> + + * complex.c (nucomp_div): raises ZeroDivisionError immediately + when the given second argument is zero. + + * rational.c (nurat_fdiv): never raise even if the given second + argument is zero. + + * rational.c (rb_raise_zerodiv): changed the message (zero to 0). + Sun Jun 28 22:25:07 2009 Tadayoshi Funaba <tadf@dotrb.org> * complex.c (nucomp_expt): convert to a float when the given power |