3 ms·
I had a good use for these old compilers- in this case I ended up using code from the Zortech-C library to reduce memory usage for ARM embedded. It turns out t
by jhallenworld 5y ago
I had a good use for these old compilers- in this case I ended up using code from the Zortech-C library to reduce memory usage for ARM embedded. It turns out that the float to ascii conversion functions for printf from the Zortech-C library are much smaller than the ones in newlib. I'm sure they are less accurate, but I don't care for this application. Same for strtod. Also they are faster.
I put the code here:
https://github.com/jhallen/joes-sandbox/blob/master/snippets/fp_printf.c https://github.com/jhallen/joes-sandbox/blob/master/snippets...
I see the Aztec ones for x86 are hand assembly..