projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5148559
)
(main): Add strtold test case.
author
Ulrich Drepper
<drepper@redhat.com>
Sat, 22 Feb 2003 09:10:06 +0000
(09:10 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Sat, 22 Feb 2003 09:10:06 +0000
(09:10 +0000)
stdlib/tst-strtod.c
patch
|
blob
|
history
diff --git
a/stdlib/tst-strtod.c
b/stdlib/tst-strtod.c
index
9496c3d
..
cf5533d
100644
(file)
--- a/
stdlib/tst-strtod.c
+++ b/
stdlib/tst-strtod.c
@@
-148,6
+148,14
@@
main (int argc, char ** argv)
status = 1;
}
+ const char input2[] = "+1.000000000116415321826934814453125";
+ if (strtold (input2, NULL) != +1.000000000116415321826934814453125)
+ {
+ printf ("input2: %La != %La\n", strtold (input2, NULL),
+ +1.000000000116415321826934814453125);
+ status = 1;
+ }
+
status |= long_dbl ();
status |= locale_test ();