3 ms·
For integer division, you get 0 as a result. For floats, it is the Infinity value used by standard implementations. The integer solution is not great, but is m
by carnitine 5y ago
For integer division, you get 0 as a result. For floats, it is the Infinity value used by standard implementations.
The integer solution is not great, but is mathematically consistent despite what many believe (it’s true in most proof assistants, for example).