/picolibc-3.7.0-3.6.0/test/ |
D | printf_scanf.c | 50 # define printf_float(x) ((double) (x)) macro 92 #define printf_float(x) ((double) (x)) macro 230 sprintf(buf, "%g", printf_float(0.0f)); in main() 393 sprintf(buf, "%.55f", printf_float(v)); in main() 398 printf_float(v), printf_float(r), printf_float(e), buf); in main() 404 sprintf(buf, "%.20e", printf_float(v)); in main() 410 printf_float(v), printf_float(r), printf_float(e), buf); in main() 416 sprintf(buf, "%.20g", printf_float(v)); in main() 422 printf_float(v), printf_float(r), printf_float(e), buf); in main() 428 sprintf(buf, "%.20a", printf_float(v)); in main() [all …]
|
D | printf-tests.c | 16 #define printf_float(x) x macro 83 n = snprintf(buf, PRINTF_BUF_SIZE, fmt, iv1, iv2, printf_float(dv)); in test() 85 an = asprintf(&abuf, fmt, iv1, iv2, printf_float(dv)); in test() 90 n = snprintf(buf, PRINTF_BUF_SIZE, fmt, iv, printf_float(dv)); in test() 92 an = asprintf(&abuf, fmt, iv, printf_float(dv)); in test() 97 n = snprintf(buf, PRINTF_BUF_SIZE, fmt, printf_float(dv)); in test() 99 an = asprintf(&abuf, fmt, printf_float(dv)); in test() 192 n = swprintf(wbuf, PRINTF_BUF_SIZE, fmt, iv1, iv2, printf_float(dv)); in testw() 196 n = swprintf(wbuf, PRINTF_BUF_SIZE, fmt, iv, printf_float(dv)); in testw() 200 n = swprintf(wbuf, PRINTF_BUF_SIZE, fmt, printf_float(dv)); in testw()
|
D | testcases.c | 154 …result |= test(__LINE__, "12.0 Hot Pockets", "%1$.1f %2$s %3$ss", printf_float(12.0), "Hot", "Pock… 155 …result |= test(__LINE__, "12.0 Hot Pockets", "%1$.*4$f %2$s %3$ss", printf_float(12.0), "Hot", "Po… 156 …result |= test(__LINE__, " 12.0 Hot Pockets", "%1$*5$.*4$f %2$s %3$ss", printf_float(12.0), "Hot",… 157 …result |= test(__LINE__, " 12.0 Hot Pockets 5", "%1$5.*4$f %2$s %3$ss %5$d", printf_float(12.0), "… 162 12345, 1234, 1234567890, printf_float(321.7654), 8, 5, 14, 14, 163 printf_float(321.7654), printf_float(5.0000001), "test-string", 14, 3, 14);
|
/picolibc-3.7.0-3.6.0/hello-world/ |
D | printf.c | 39 #ifndef printf_float 40 #define printf_float(x) (x) macro 46 printf(" 2⁶¹ = %lld π ≃ %.17g\n", 1ll << 61, printf_float(3.141592653589793)); in main()
|
/picolibc-3.7.0-3.6.0/doc/printf-sample/ |
D | printf.c | 39 printf(" 2⁶¹ = %lld π ≃ %.17g\n", 1ll << 61, printf_float(3.141592653589793)); in main()
|
/picolibc-3.7.0-3.6.0/newlib/libc/tinystdio/ |
D | stdio.h | 378 # define printf_float(x) ((double) (x)) macro 386 # define printf_float(x) ((double) (x)) macro 400 # define printf_float(x) ((double) (x)) macro 412 # define printf_float(x) __printf_float(x) macro 421 # define printf_float(x) ((double) (x)) macro
|
/picolibc-3.7.0-3.6.0/doc/ |
D | printf.md | 135 `printf_float`. To make it easier to switch between that and the default 143 printf(" 2⁶¹ = %lld π ≃ %.17g\n", 1ll << 61, printf_float(3.141592653589793));
|