mes/lib
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
..
crt1.c build: mlib/include to include, move mlib to lib. 2017-11-22 16:23:48 +01:00
getopt.c build: mlib/include to include, move mlib to lib. 2017-11-22 16:23:48 +01:00
libc+tcc-gcc.c mescc: Tinycc support: Add __lshrdi3, __ashldi3, __ashrdi3. 2018-05-14 22:36:14 +02:00
libc+tcc-mes.c mlibc: New library layout; remove duplication. 2017-12-03 13:56:21 +01:00
libc+tcc.c mescc: Tinycc support: Minimal float support. 2018-05-18 15:28:05 +02:00
libc-gcc.c mlibc: New library layout; remove duplication. 2017-12-03 13:56:21 +01:00
libc-mes.c mlibc: New library layout; remove duplication. 2017-12-03 13:56:21 +01:00
libc.c core: Fix compile warnings. 2018-04-29 12:02:23 +02:00
linux+tcc-gcc.c mlibc: New library layout; remove duplication. 2017-12-03 13:56:21 +01:00
linux+tcc-mes.c mlibc: New library layout; remove duplication. 2017-12-03 13:56:21 +01:00
linux-gcc.c mlibc: Add ioctl. 2018-04-22 11:42:47 +02:00
linux-mes.c mlibc: Add ioctl. 2018-04-22 11:42:47 +02:00
mini-libc-gcc.c mlibc: New library layout; remove duplication. 2017-12-03 13:56:21 +01:00
mini-libc-mes.c build: Build mini-libc and libc+tcc-gcc too. 2018-05-23 18:41:57 +02:00
mini-libc.c build: Build mini-libc and libc+tcc-gcc too. 2018-05-23 18:41:57 +02:00
mini-linux-gcc.c mlibc: New library layout; remove duplication. 2017-12-03 13:56:21 +01:00
mini-linux-mes.c mlibc: New library layout; remove duplication. 2017-12-03 13:56:21 +01:00