(main): Add strtold test case.

This commit is contained in:
Ulrich Drepper 2003-02-22 09:10:06 +00:00
parent 5148559c88
commit 286a45c522

View file

@ -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 ();