cfda148e1e
* 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. |
||
---|---|---|
.. | ||
crt1.c | ||
getopt.c | ||
libc+tcc-gcc.c | ||
libc+tcc-mes.c | ||
libc+tcc.c | ||
libc-gcc.c | ||
libc-mes.c | ||
libc.c | ||
linux+tcc-gcc.c | ||
linux+tcc-mes.c | ||
linux-gcc.c | ||
linux-mes.c | ||
mini-libc-gcc.c | ||
mini-libc-mes.c | ||
mini-libc.c | ||
mini-linux-gcc.c | ||
mini-linux-mes.c |