HNHacker News
TopNewBestAskShowJobs

martindevans

183 karma · joined July 26, 2014

I Make Games.
submissionscomments
martindevans··on What every computer programmer should know about floating point, part 1
I'm a game programmer so I end up dealing with lots of floating point numbers no matter what language I'm working in because physics and graphics engines just love their floats. C#, C++ and Typescript are my most frequent languages but I would expect to encounter these same issues whatever language I'm working in.

I did some pretty cool work on a fixed point physics engine once - using integers to represent individual millimeters, so the game field was limited to a mere 4294.97Km! But the graphics engine was still all floats, there's no escape :'(

← PreviousPage 3 of 3