diff options
author | thevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4> | 2011-11-03 14:53:08 +0000 |
---|---|---|
committer | thevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4> | 2011-11-03 14:53:08 +0000 |
commit | 3e125eadac771e1707e5fd98f421a3792019e800 (patch) | |
tree | 5c9008cb263a559ebd3ee2d8f7c09e796b8f1322 /src/vasprintf.c | |
parent | 6f25a4ca181e908e833931a15b70bc7766e1d21c (diff) | |
download | mpfr-3e125eadac771e1707e5fd98f421a3792019e800.tar.gz |
[src/vasprintf.c] Corrected a comment.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7943 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/vasprintf.c')
-rw-r--r-- | src/vasprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vasprintf.c b/src/vasprintf.c index 8231d1f25..30eac25d0 100644 --- a/src/vasprintf.c +++ b/src/vasprintf.c @@ -1303,6 +1303,7 @@ regular_fg (struct number_parts *np, mpfr_srcptr p, str = dec_info->str; } if (MPFR_IS_NEG (p)) + /* skip sign */ ++str; if (exp == 1) /* round up to 1 */ @@ -1314,7 +1315,6 @@ regular_fg (struct number_parts *np, mpfr_srcptr p, } else { - /* skip sign */ np->fp_ptr = str; np->fp_leading_zeros = -exp; MPFR_ASSERTD (exp <= 0); |