diff options
| author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-03-16 00:23:43 +0000 |
|---|---|---|
| committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-03-16 00:23:43 +0000 |
| commit | 53ad47de80b64673d5e57924e08344dcf6f6f52a (patch) | |
| tree | 8f77bc1b34603f4ce939aa4b5a77f5e8303b7df4 /ChangeLog | |
| parent | 0bed7f6c4fee2d176a235131d9613dd04d9f3f08 (diff) | |
| download | ruby-53ad47de80b64673d5e57924e08344dcf6f6f52a.tar.gz ruby-53ad47de80b64673d5e57924e08344dcf6f6f52a.tar.xz ruby-53ad47de80b64673d5e57924e08344dcf6f6f52a.zip | |
both complex and rational are now builtin classes.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
| -rw-r--r-- | ChangeLog | 40 |
1 files changed, 40 insertions, 0 deletions
@@ -1,3 +1,43 @@ +Sun Mar 16 08:51:41 2008 Tadayoshi Funaba <tadf@dotrb.org> + + * include/ruby/intern.h: added some declarations. + + * include/ruby/ruby.h: ditto. + + * common.mk: added some entries. + + * configure.in: added a check for signbit. + + * lib/complex.rb: nearly all of core definitions have been removed. + + * lib/rational.rb: ditto. + + * lib/mathn.rb: some trivial adjustments. + + * complex.c: new. + + * rational.c: ditto. + + * numeric.c (flo_{quo,rdiv}, fix_fdiv): added. + + * numeric.c ({num,int}_{numerator,denominator}): ditto. + + * bignum.c (rb_big_fdiv): ditto. + + * numeric.c (fix_{quo,pow}): now may yield rational number. + + * bignum.c (rb_big_{quo,pow}): ditto. + + * numeric.c (rb_{int,flo}_induced_from): now can accept rational. + + * gc.c (gc_mark_children, obj_free): now detects complex and rational. + + * inits.c (rb_call_inits): now calls Init_{Complex,Rational}. + + * test/ruby/test_complex.rb: new. + + * test/ruby/test_rational.rb: ditto. + Sat Mar 15 17:48:48 2008 Yukihiro Matsumoto <matz@ruby-lang.org> * encoding.c (rb_enc_associate_index): pass unnecessary enc_capable(). |
