Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Floating point printing - how? #125

Closed
AVI-crak opened this issue Aug 25, 2021 · 0 comments
Closed

Floating point printing - how? #125

AVI-crak opened this issue Aug 25, 2021 · 0 comments

Comments

@AVI-crak
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant