diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-07-12 07:33:34 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-07-12 07:33:34 +0000 |
commit | ec9fbf3939be00d70637e59dd34cad259ce62eef (patch) | |
tree | a9ad8a79c98f02003684138a0a4e65562f42a672 /bignum.c | |
parent | b97e1cfdb1294ccf8da7c469d8075ff0c961e75d (diff) |
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bignum.c')
-rw-r--r-- | bignum.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -787,7 +787,7 @@ bigdivrem(x, y, divp, modp) yds = BDIGITS(y); if (ny == 0 && yds[0] == 0) rb_num_zerodiv(); if (nx < ny || nx == ny && BDIGITS(x)[nx - 1] < BDIGITS(y)[ny - 1]) { - if (divp) *divp = INT2FIX(0); + if (divp) *divp = rb_int2big(0); if (modp) *modp = x; return; } |