@floooh@mastodon.gamedev.place
Post #4168457
2026-07-06 10:03 UTC
@jonikorpi@mastodon.gamedev.place @TomF@mastodon.gamedev.place you really don't need much of a guide because it's exactly the same as regular integer math, just with an imaginary decimal point - think of "working" in meters, but with 3 fractional digits so that you actually have millimeter precision - that's fixed point math :)
Replies (1)
-
@antopatriarca@mathstodon.xyz 2026-07-06 16:27
@floooh@mastodon.gamedev.place @jonikorpi@mastodon.gamedev.place @TomF@mastodon.gamedev.place But isn’t it simpler to just say “I’m working in mm or μm” instead of saying you have x fractional units. But maybe the problem is that most of the time you are using power of twos fractionals so it doesn’t really correspond to any unit.