mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 14:30:06 +00:00
Update.
* stdlib/tst-strtod.c (main): Declare constant long double as suggested by Jakub Jelinek and Andreas Schwab.
This commit is contained in:
parent
346f3a9016
commit
c53320c0c9
@ -1,5 +1,8 @@
|
|||||||
2003-06-25 Andreas Jaeger <aj@suse.de>
|
2003-06-25 Andreas Jaeger <aj@suse.de>
|
||||||
|
|
||||||
|
* stdlib/tst-strtod.c (main): Declare constant long double as
|
||||||
|
suggested by Jakub Jelinek and Andreas Schwab.
|
||||||
|
|
||||||
* posix/tst-nanosleep.c: Include <time.h> for nanosleep
|
* posix/tst-nanosleep.c: Include <time.h> for nanosleep
|
||||||
declaration.
|
declaration.
|
||||||
|
|
||||||
|
@ -150,7 +150,7 @@ main (int argc, char ** argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
const char input2[] = "+1.000000000116415321826934814453125";
|
const char input2[] = "+1.000000000116415321826934814453125";
|
||||||
if (strtold (input2, NULL) != +1.000000000116415321826934814453125)
|
if (strtold (input2, NULL) != +1.000000000116415321826934814453125L)
|
||||||
{
|
{
|
||||||
printf ("input2: %La != %La\n", strtold (input2, NULL),
|
printf ("input2: %La != %La\n", strtold (input2, NULL),
|
||||||
+1.000000000116415321826934814453125L);
|
+1.000000000116415321826934814453125L);
|
||||||
|
Loading…
Reference in New Issue
Block a user