News for hackers. Stuff that matters.
Re:What every computer programmer should know about floating... by martindevans on Tuesday September 16, 2014 @10:42AM (#8324695)
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 :'(

There are no comments on this comment yet.