I want to create a multiplayer game with HTML/JavaScript and only send user input between players. I read some articles for C++, saying that I could not expect floating point to get the same results on different binaries/machines. I expect the situation to be no better in JavaScript.
Do I need to use fixed point? Assuming fixed point is the way, can I calculate e.g. (estimated reciprocal) square roots using floating point functions exposed thru JavaScript, and then apply something akin to rounding to get determinism?