2 ms·
You are right that for that place in the game this probably exposed a bug in the original game. Normally testing the sign of a floating-point number that is th
by adrian_b 5y ago
You are right that for that place in the game this probably exposed a bug in the original game.
Normally testing the sign of a floating-point number that is the result of a multiplication or division should always be preceded by a test for zero, unless you intentionally want to take different paths for zeros with different signs.