mes/lib/mes
Jan Nieuwenhuizen 9d33ed0a2e
mescc: Mes C Library: Support GNU Awk: Add dtoab, %f in vfprintf, vsnprintf.
* include/libmes.h (dtoab): Declare.
* lib/mes/ntoab.c (ntoab): Update.
* lib/mes/dtoab.c: New file.
* build-aux/configure-lib.sh (libmes_SOURCES, libc_tcc_SOURCES): Add
it.
* lib/tests/mes/90-dtoab.c: Test it.
* lib/tests/stdio/90-sprintf.c: Test it.
* build-aux/check-mescc.sh (tests): Run it, against...
* lib/tests/mes/90-dtoab.stdout: ...baseline.
* lib/stdio/vfprintf.c (vfprintf): Support %f, even more naive support
for %e, %E, %g, %G.
* lib/stdio/vsnprintf.c (vsnprintf): Likewise.
2019-09-09 18:33:22 +02:00
..
__assert_fail.c build: Simplify. 2019-06-08 15:36:22 +02:00
__buffered_read.c mescc: Mes C Library: Add buffered read. 2019-07-27 22:58:49 +02:00
__mes_debug.c build: Simplify. 2019-06-08 15:36:22 +02:00
abtod.c mescc: Mes C Library: Support GNU Awk: Add abtod, implementing strtod. 2019-09-09 18:33:22 +02:00
abtol.c mescc: Mes C Library: Support GNU Awk: Add abtod, implementing strtod. 2019-09-09 18:33:22 +02:00
div.c ldiv: Make rem < 0 if a < 0. 2019-09-09 16:04:13 +02:00
dtoab.c mescc: Mes C Library: Support GNU Awk: Add dtoab, %f in vfprintf, vsnprintf. 2019-09-09 18:33:22 +02:00
eputc.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
eputs.c build: Simplify. 2019-06-08 15:36:22 +02:00
fdgetc.c mescc: Mes C Library: Add buffered read. 2019-07-27 22:58:49 +02:00
fdgets.c build: Simplify. 2019-06-08 15:36:22 +02:00
fdputc.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
fdputs.c build: Simplify. 2019-06-08 15:36:22 +02:00
fdungetc.c build: Simplify. 2019-06-08 15:36:22 +02:00
itoa.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
ltoa.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
ltoab.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
mes_open.c build: Simplify. 2019-06-08 15:36:22 +02:00
ntoab.c ntoab: Use __mesabi_uldiv only for arm. 2019-09-09 16:04:13 +02:00
oputc.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
oputs.c build: Simplify. 2019-06-08 15:36:22 +02:00
search-path.c build: Simplify. 2019-06-08 15:36:22 +02:00
ultoa.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
utoa.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
write.c mescc: Mes C Library: Have write behave well with buffered reads. 2019-07-28 13:01:37 +02:00