tadf
|
4e046758f5
|
* numeric.c: cancelled recent changes (except to remove rdiv).
* bignum.c: ditto.
* bignum.c: added rb_big_idiv.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2008-04-07 13:52:26 +00:00 |
|
matz
|
c3d2e4d381
|
* numeric.c (num_rdiv): should always return rational number.
* rational.c (nurat_add, nurat_sub, nurat_mul, nurat_fdiv,
nurat_cmp): use rb_num_coerce_bin().
* rational.c (nurat_division): does / and rdiv.
* .gdbinit (rp): no longer use rb_p().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2008-04-02 14:13:53 +00:00 |
|
matz
|
020d4e4d38
|
* test/ruby/test_numeric.rb (TestNumeric::test_num2long): bit-and
should not raise RangeError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2008-03-13 16:38:56 +00:00 |
|
akr
|
b7d7519b18
|
add a test for [ruby-dev:34006].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2008-03-08 06:10:22 +00:00 |
|
akr
|
6f8d578b8a
|
code duplication removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2008-03-08 05:56:03 +00:00 |
|
mame
|
65753a5838
|
* test/ruby/test_pack.rb: fix tests for 64bit CPU.
* test/ruby/test_bignum.rb: ditto.
* test/ruby/test_file_exhaustive.rb: ditto.
* test/ruby/test_integer.rb: ditto.
* test/ruby/test_time.rb: ditto.
* test/ruby/test_numeric.rb: ditto.
* test/ruby/test_fixnum.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2008-02-10 21:52:25 +00:00 |
|
mame
|
8f655cec3d
|
* test/ruby/test_file_exhaustive.rb: add tests to achive over 80% test coverage of file.c.
* test/ruby/test_numeric.rb: forgot to add this (at r15360).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2008-02-03 12:14:30 +00:00 |
|