Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 581 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 581 Bytes

fixed_point_math

Fixed point math practice & test code

fixed_point_math tutorial

  • A tutorial-like practice code to learn how to do fixed-point math, manual "float"-like prints using integers only, "float"-like integer rounding, and fractional fixed-point math on large integers.

Inspired by: https://stackoverflow.com/questions/10067510/fixed-point-arithmetic-in-c-programming.

If you find this useful, please upvote my answer here: https://stackoverflow.com/a/53936802/4561887. If not, it was valuable learning for me so I'm glad I did it anyway. :)

~Gabriel Staples