Gary V. Vaughan wrote: > All pass except this one: > > ... > cc -I. -I../lib -I. -I. -I.. -I./.. -I../lib -I./../lib -I../intl > +O2 -Ae -z +Ofltacc +ESlit +DAportable +Oentrysched +Odataprefetch > +Onolimit -c test-vasprintf-posix.c > test-vasprintf-posix.c:2804: assertion failed > FAIL: test-vasprintf-posix
This is unrelated to strtod and HUGE_VAL. But can you show the results of $ grep NEED config.h and of running this program? ======================== printf-minus-zero.c ==================== #include <stdio.h> double zerod = 0.0; int main () { char buf[100]; int ret = sprintf (buf, "%g %d", -zerod, 33, 44, 55); printf ("%d\n%s\n", ret, buf); return 0; } ================================================================= Expected output is: 5 -0 33 Bruno