mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
[BZ #5995]
2008-03-29 Ulrich Drepper <drepper@redhat.com> [BZ #5995] * stdlib/strtod_l.c: Use correct sign for result in one more underflow case. Patch by Eric Blake <ebb9@byu.net>.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
2008-03-29 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
[BZ #5995]
|
||||||
|
* stdlib/strtod_l.c: Use correct sign for result in one more
|
||||||
|
underflow case.
|
||||||
|
Patch by Eric Blake <ebb9@byu.net>.
|
||||||
|
|
||||||
2008-03-27 Jakub Jelinek <jakub@redhat.com>
|
2008-03-27 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Add open
|
* sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Add open
|
||||||
|
@ -1028,7 +1028,7 @@ ____STRTOF_INTERNAL (nptr, endptr, group, loc)
|
|||||||
if (__builtin_expect (exponent < MIN_10_EXP - (DIG + 1), 0))
|
if (__builtin_expect (exponent < MIN_10_EXP - (DIG + 1), 0))
|
||||||
{
|
{
|
||||||
__set_errno (ERANGE);
|
__set_errno (ERANGE);
|
||||||
return 0.0;
|
return negative ? -0.0 : 0.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (int_no > 0)
|
if (int_no > 0)
|
||||||
|
Reference in New Issue
Block a user