mes/include
Jan Nieuwenhuizen cfda148e1e
mescc: Tinycc support: Minimal float support.
* lib/libc+tcc.c (ldexp, strtod, strtof, strtold): New stub.
* include/math.h (ldexp): Declare.
* include/stdlib.h (strtod, strtof, strtold): Declare.
* module/mes/scm.mes (string->number): Minimal float support.
  (inexact->exact): New function.
* tests/math.test ("string->number"): Test it.
* module/language/c99/compiler.mes (ast->type): Handle float type.
  (type->info): Likewise.
  (cstring->int): Rename from cstring->number.  Update callers.
  (cstring->float): New function.
  (expr->accu): Use it.
2018-05-18 15:28:05 +02:00
..
sys mlibc: Declare chmod. 2018-04-29 12:01:25 +02:00
00-test.i mlibc: Tinycc support: Avoid hex. 2017-12-04 22:58:10 +01:00
30-test.i build: mlib/include to include, move mlib to lib. 2017-11-22 16:23:48 +01:00
alloca.h build: mlib/include to include, move mlib to lib. 2017-11-22 16:23:48 +01:00
assert.h build: mlib/include to include, move mlib to lib. 2017-11-22 16:23:48 +01:00
ctype.h core: Add isspace. 2018-04-10 21:51:15 +02:00
dlfcn.h build: mlib/include to include, move mlib to lib. 2017-11-22 16:23:48 +01:00
endian.h build: mlib/include to include, move mlib to lib. 2017-11-22 16:23:48 +01:00
errno.h mlibc: M4 support: robustify headers, add sys/signal.h. 2017-12-05 19:49:37 +01:00
fcntl.h build: mlib/include to include, move mlib to lib. 2017-11-22 16:23:48 +01:00
features.h build: mlib/include to include, move mlib to lib. 2017-11-22 16:23:48 +01:00
float.h build: mlib/include to include, move mlib to lib. 2017-11-22 16:23:48 +01:00
getopt.h build: Build mini-libc and libc+tcc-gcc too. 2018-05-23 18:41:57 +02:00
inttypes.h build: mlib/include to include, move mlib to lib. 2017-11-22 16:23:48 +01:00
libgen.h build: mlib/include to include, move mlib to lib. 2017-11-22 16:23:48 +01:00
limits.h build: mlib/include to include, move mlib to lib. 2017-11-22 16:23:48 +01:00
locale.h build: mlib/include to include, move mlib to lib. 2017-11-22 16:23:48 +01:00
math.h mescc: Tinycc support: Minimal float support. 2018-05-18 15:28:05 +02:00
mlibc.h build: mlib/include to include, move mlib to lib. 2017-11-22 16:23:48 +01:00
setjmp.h mlibc: GNU Gcc support: setjmp, longjmp. 2017-11-26 13:10:46 +01:00
signal.h build: mlib/include to include, move mlib to lib. 2017-11-22 16:23:48 +01:00
stdarg.h mlibc: M4 support: robustify headers, add sys/signal.h. 2017-12-05 19:49:37 +01:00
stdbool.h build: mlib/include to include, move mlib to lib. 2017-11-22 16:23:48 +01:00
stddef.h build: mlib/include to include, move mlib to lib. 2017-11-22 16:23:48 +01:00
stdint.h mlibc: M4 support: robustify headers, add sys/signal.h. 2017-12-05 19:49:37 +01:00
stdio.h mlibc: M4 support: robustify headers, add sys/signal.h. 2017-12-05 19:49:37 +01:00
stdlib.h mescc: Tinycc support: Minimal float support. 2018-05-18 15:28:05 +02:00
stdnoreturn.h build: mlib/include to include, move mlib to lib. 2017-11-22 16:23:48 +01:00
string.h mlibc: M4 support: robustify headers, add sys/signal.h. 2017-12-05 19:49:37 +01:00
strings.h build: mlib/include to include, move mlib to lib. 2017-11-22 16:23:48 +01:00
time.h build: mlib/include to include, move mlib to lib. 2017-11-22 16:23:48 +01:00
unistd.h mlibc: Add isatty. 2018-04-22 11:47:44 +02:00