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 | cc0c4c70a3257aabba4789c716902ed4a84b82c4 (patch) | |
tree | 218c00c482feab31a45d58caf85df9261353db04 /ext/bigdecimal | |
parent | 883b76c59e152f6db82dba45fd3f29592149317e (diff) |
* merge -c 12065
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@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 04266b1d42..fd0cd65418 100644 --- a/ext/bigdecimal/bigdecimal.c +++ b/ext/bigdecimal/bigdecimal.c @@ -3915,7 +3915,7 @@ VpCtoV(Real *a, char *int_chr, U_LONG ni, char *frac, U_LONG nf, char *exp_chr, /* get integer part */ i = 0; sign = 1; - if(ni > 0) { + if(ni >= 0) { if(int_chr[0] == '-') { sign = -1; ++i; |