3 ms·
They are still popular for multiplayer games that has a synced game state. In all clients you want to get exact same results when they run same code which is no
by shultays 5y ago
They are still popular for multiplayer games that has a synced game state. In all clients you want to get exact same results when they run same code which is not possible with fp
- dragonwriter 5y ago“fp” is an unfortunate abbreviation for floating point when contrasted with fixed point.
- shultays 5y agoHah, thanks for pointing that out, I haven't noticed it
- Asraelite 5y agoIs it really not possible to guarantee the same floating point behavior across different CPUs? I was under the impression that compilers had flags for that kind of thing.
- shultays 5y agoI am not the expert but looks like there are some answers (atq2119 and newpavlov) under this thread: https://news.ycombinator.com/item?id=28901751 https://news.ycombinator.com/item?id=28901751 tldr: it is hard. I was wrong by saying it is "not possible". But I wonder if it is possible if your target platform includes various consoles?