mpaland/printf

Floating point printing - how?

AVI-crak opened this issue · 0 comments

Good afternoon.
I have my own version of printing, which is a highly optimized version of the standard printf. I couldn’t drop the table, but I cut it down a lot. https://github.com/AVI-crak/Rtos_cortex/blob/master/sPrint.h
Your version does not use tables, but immediately receives a decimal order value and a ready-made mantissa value. Yes, I read the links - it's dull there.
I was able to get the decimal order value without using double precision. But the value of the mantissa cannot be calculated.
The general idea of ​​the problem is to perform calculations without floating point, or with minimal use of it.
I want to understand how it is counted for repetition in my project.