diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-09-04 20:10:45 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-09-04 20:10:45 +0000 |
| commit | e26606c280cc91f6afd93023dc134097039a68bd (patch) | |
| tree | 28ee455885b04363000385b59d057013ee7e8d76 /ruby.c | |
| parent | ba4567c2298decd3d396b712a8b51c3bf64d99fe (diff) | |
| download | ruby-e26606c280cc91f6afd93023dc134097039a68bd.tar.gz ruby-e26606c280cc91f6afd93023dc134097039a68bd.tar.xz ruby-e26606c280cc91f6afd93023dc134097039a68bd.zip | |
* numeric.c (fix_plus): addition in Fixnum will never overflow
long. a patch from Ondrej Bilka <neleai at seznam.cz>.
[ruby-core:08794]
* numeric.c (fix_minus): ditto.
* bignum.c (rb_big_pow): eagerly truncate resulting bignum.
[ruby-core:08794]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
0 files changed, 0 insertions, 0 deletions
