RNG ( 1, 6, 7, "%hi", i);
RNG ( 1, 5, 6, "%hu", i);
+ RNG ( 1, 6, 7, "%.1hi", i);
+ RNG ( 2, 6, 7, "%.2hi", i);
+ RNG ( 3, 6, 7, "%.3hi", i);
+ RNG ( 4, 6, 7, "%.4hi", i);
+ RNG ( 5, 6, 7, "%.5hi", i);
+ RNG ( 6, 7, 8, "%.6hi", i);
+ RNG ( 7, 8, 9, "%.7hi", i);
+
#elif __SIZEOF_SHORT__ == 4
RNG ( 1, 11, 12, "%hi", i);
RNG ( 1, 10, 11, "%hu", i);
+
+ RNG ( 1, 11, 12, "%.1hi", i);
+ RNG ( 2, 11, 12, "%.2hi", i);
+ RNG ( 3, 11, 12, "%.3hi", i);
+ RNG ( 4, 11, 12, "%.4hi", i);
+ RNG ( 5, 11, 12, "%.5hi", i);
+ RNG ( 6, 11, 12, "%.6hi", i);
+ RNG ( 7, 11, 12, "%.7hi", i);
+ RNG ( 8, 11, 12, "%.8hi", i);
+ RNG ( 9, 11, 12, "%.9hi", i);
+ RNG (10, 11, 12, "%.10hi", i);
+ RNG (11, 12, 13, "%.11hi", i);
+ RNG (12, 13, 14, "%.12hi", i);
+ RNG (13, 14, 15, "%.13hi", i);
#endif
#if __SIZEOF_INT__ == 2
RNG ( 1, 6, 7, "%i", i);
RNG ( 1, 5, 6, "%u", i);
+
+ RNG ( 1, 6, 7, "%.1i", i);
+ RNG ( 2, 6, 7, "%.2i", i);
+ RNG ( 3, 6, 7, "%.3i", i);
+ RNG ( 4, 6, 7, "%.4i", i);
+ RNG ( 5, 6, 7, "%.5i", i);
+ RNG ( 6, 7, 8, "%.6i", i);
+ RNG ( 7, 8, 9, "%.7i", i);
#elif __SIZEOF_INT__ == 4
RNG ( 1, 11, 12, "%i", i);
RNG ( 1, 10, 11, "%u", i);
+
+ RNG ( 1, 11, 12, "%.1i", i);
+ RNG ( 2, 11, 12, "%.2i", i);
+ RNG ( 3, 11, 12, "%.3i", i);
+ RNG ( 4, 11, 12, "%.4i", i);
+ RNG ( 5, 11, 12, "%.5i", i);
+ RNG ( 6, 11, 12, "%.6i", i);
+ RNG ( 7, 11, 12, "%.7i", i);
+ RNG ( 8, 11, 12, "%.8i", i);
+ RNG ( 9, 11, 12, "%.9i", i);
+ RNG (10, 11, 12, "%.10i", i);
+ RNG (11, 12, 13, "%.11i", i);
+ RNG (12, 13, 14, "%.12i", i);
+ RNG (13, 14, 15, "%.13i", i);
#elif __SIZEOF_INT__ == 8
RNG ( 1, 20, 21, "%i", i);
RNG ( 1, 19, 20, "%u", i);
#if __SIZEOF_LONG__ == 4
RNG ( 1, 11, 12, "%li", li);
RNG ( 1, 10, 11, "%lu", li);
+
+ RNG ( 1, 11, 12, "%.1li", li);
+ RNG ( 2, 11, 12, "%.2li", li);
+ RNG ( 3, 11, 12, "%.3li", li);
+ RNG ( 4, 11, 12, "%.4li", li);
+ RNG ( 5, 11, 12, "%.5li", li);
+ RNG ( 6, 11, 12, "%.6li", li);
+ RNG ( 7, 11, 12, "%.7li", li);
+ RNG ( 8, 11, 12, "%.8li", li);
+ RNG ( 9, 11, 12, "%.9li", li);
+ RNG (10, 11, 12, "%.10li", li);
+ RNG (11, 12, 13, "%.11li", li);
+ RNG (12, 13, 14, "%.12li", li);
+ RNG (13, 14, 15, "%.13li", li);
#elif __SIZEOF_LONG__ == 8
RNG ( 1, 20, 21, "%li", li);
RNG ( 1, 19, 20, "%lu", li);