diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-03-16 10:07:26 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-03-16 10:07:26 +0000 |
commit | 6f405ca6a67573d84df65e9792b4ec0b3d90f5c0 (patch) | |
tree | 339aca8b2346f1ed23db1331fca5a5376e70650c /ext/bigdecimal | |
parent | 9c42f82759ead7165fb5c7b4968eb77e5f15d444 (diff) |
* merge -c 12065
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/bigdecimal')
-rw-r--r-- | ext/bigdecimal/bigdecimal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c index efbf29f92d..a4b769e8cf 100644 --- a/ext/bigdecimal/bigdecimal.c +++ b/ext/bigdecimal/bigdecimal.c @@ -3921,7 +3921,7 @@ VpCtoV(Real *a, const char *int_chr, U_LONG ni, const char *frac, U_LONG nf, con /* get integer part */ i = 0; sign = 1; - if(ni > 0) { + if(ni >= 0) { if(int_chr[0] == '-') { sign = -1; ++i; |