2 strprintf - formatted print to a string
5 strprintf(fmt, x_1, x_2, ...)
14 This function returns the string formed from the characters that
15 would be printed to standard output by printf(fmt, x_1, x_2, ...).
18 > strprintf("h=%d, i=%d", 2, 3);
21 > c = config("epsilon", 1e-6); c = config("display", 6);
22 > c = config("tilde", 1); c = config("outround", 0);
23 > c = config("fullzero", 0);
24 > fmt = "%f,%10f,%-10f,%10.4f,%.4f,%.f.\n";
26 > strprintf(fmt,a,a,a,a,a,a);
27 "1.732051, 1.732051,1.732051 , ~1.7320,~1.7320,~1.
31 The number of arguments of strprintf() is not to exceed 100.
37 printf, fprintf, print