507
507
if (sprintf (buf, "%010a %d", 1.0 / zero, 33, 44, 55) < 0
511
511
if (sprintf (buf, "%.1a", 1.999) < 0
512
512
|| (strcmp (buf, "0x1.0p+1") != 0
513
513
&& strcmp (buf, "0x2.0p+0") != 0
514
514
&& strcmp (buf, "0x4.0p-1") != 0
515
515
&& strcmp (buf, "0x8.0p-2") != 0))
518
518
glibc 2.4 bug <http://sourceware.org/bugzilla/show_bug.cgi?id=2908>. */
519
519
if (sprintf (buf, "%.1La", 1.999L) < 0
520
520
|| (strcmp (buf, "0x1.0p+1") != 0