[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.
This commit is contained in:
parent
a822d9f446
commit
d117c1ce4d
@ -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>
|
2006-12-09 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
* misc/mntent_r.c (__hasmntopt): Check p[optlen] even when p == rest.
|
* misc/mntent_r.c (__hasmntopt): Check p[optlen] even when p == rest.
|
||||||
|
@ -888,7 +888,7 @@ ____STRTOF_INTERNAL (nptr, endptr, group, loc)
|
|||||||
--expp;
|
--expp;
|
||||||
--dig_no;
|
--dig_no;
|
||||||
--int_no;
|
--int_no;
|
||||||
++exponent;
|
exponent += base == 16 ? 4 : 1;
|
||||||
}
|
}
|
||||||
while (dig_no > 0 && exponent < 0);
|
while (dig_no > 0 && exponent < 0);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user