News for hackers. Stuff that matters.
Re:Never trust the client by maccard on Thursday April 28, 2016 @04:47AM (#11587327)
Those fpu precision issues are a nightmare. The most common way to get Around them is to do integer math instead.

One thing that makes this possible is that many of those games run st much slower update rates (typical games are 30/60hz, many rts games run at 10hz) and they run in lock step. If you have different clients with slightly different views of the world it doesn't work at all

Re:Never trust the client by amelius on Thursday April 28, 2016 @04:56AM (#11587355)
I thought that IEEE floating point operations were well-defined, and guaranteed to always behave in the same way (but there are a few CPU flags that can influence e.g. rounding).