gbadev-org / gbadoc

Community initiated GBA Technical documentation effort
http://gbadev-org.github.io/gbadoc/
Creative Commons Zero v1.0 Universal
46 stars 7 forks source link

Add explanation of converting between floating and fixed point #21

Closed AntonioND closed 5 months ago

AntonioND commented 5 months ago

This is useful in many situations, like when generating fixed point constants, or when printing fixed point values for debugging (or non debugging) purposes.

Also, fix some qualifiers (extern isn't needed, const is nice to use).