|
From: | Christian Jullien |
Subject: | Re: [Tinycc-devel] Tiny CC isn't working with floating point math |
Date: | Sun, 10 Jan 2016 10:59:47 +0100 |
A toy compiler? I can’t let you say that given the fact that this ‘toy compiler’ is also able to compile a ‘toy os’ named Linux. It is also able to compile my ‘toy OpenLisp’ compiler with full float/double math support and many other yet VERY BIG and well know ‘toy’ projects. Christian From: address@hidden [mailto:address@hidden On Behalf Of Ben Hutchinson When using any variable defined as "float" or "double" in C code, TCC butchers all the math. I liked TinyCC because it made VERY small executables (compared to the HUGE exe files output from GCC), but floating point math is such a basic thing, that without it the compiler is almost useless. Can you think of even one program today that we use on our computers that uses EXCLUSIVELY integer math and NO floating point math? I can't think of any. Can somebody please fix TinyCC so that I can start writing some decent programs with it? Right now it's basically just a toy compiler, good for experimenting with only the most bare-bones, basic, types of software that a person could write. And I've already played around with its integer math stuff, and am starting to get bored. |
[Prev in Thread] | Current Thread | [Next in Thread] |