Skip to content

GiulioDallaVecchia/fixed_point_math

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Fixed point math practice & test code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 50.0%
  • C++ 50.0%