Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[BZ #3674]
2006-12-09  Ulrich Drepper  <drepper@redhat.com>
	[BZ #3674]
	* stdlib/strtod_l.c (____STRTOF_INTERNAL): Adjust exponent value
	correctly if removing trailing zero of hex-float.
  • Loading branch information
Ulrich Drepper committed Dec 10, 2006
1 parent a822d9f commit d117c1c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions ChangeLog
@@ -1,3 +1,9 @@
2006-12-09 Ulrich Drepper <drepper@redhat.com>

[BZ #3674]
* stdlib/strtod_l.c (____STRTOF_INTERNAL): Adjust exponent value
correctly if removing trailing zero of hex-float.

2006-12-09 Jakub Jelinek <jakub@redhat.com>

* misc/mntent_r.c (__hasmntopt): Check p[optlen] even when p == rest.
Expand Down
2 changes: 1 addition & 1 deletion stdlib/strtod_l.c
Expand Up @@ -888,7 +888,7 @@ ____STRTOF_INTERNAL (nptr, endptr, group, loc)
--expp;
--dig_no;
--int_no;
++exponent;
exponent += base == 16 ? 4 : 1;
}
while (dig_no > 0 && exponent < 0);

Expand Down

0 comments on commit d117c1c

Please sign in to comment.