diff options
| author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-14 03:59:02 +0000 |
|---|---|---|
| committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-14 03:59:02 +0000 |
| commit | f24d5aba4aea1a3c1f6f600bd745a277f12f1b78 (patch) | |
| tree | c32266f4b72a566688f4d26adabc6f2f3559457d /ruby.c | |
| parent | c1f15cf03ff76949bc199a9e0b8cac9115551a72 (diff) | |
| download | ruby-f24d5aba4aea1a3c1f6f600bd745a277f12f1b78.tar.gz ruby-f24d5aba4aea1a3c1f6f600bd745a277f12f1b78.tar.xz ruby-f24d5aba4aea1a3c1f6f600bd745a277f12f1b78.zip | |
* bignum.c (rb_big_mul): faster multiplication by Karatsuba method and
twice faster square than normal multiplication.
* random.c (rb_rand_internal): used by Bignum#*.
* test/ruby/test_bignum.rb: add some tests for above.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
0 files changed, 0 insertions, 0 deletions
