3 ms·
Right; for the former integer arithmetic won't do.
by saagarjha 7y ago
Right; for the former integer arithmetic won't do.
- umanwizard 7y agoYep, absolutely (and increasingly often people are using 16-bit floats on GPUs to go even faster). But the person you replied to said programming logic, not programming anything. Honestly I think if you care about the difference between `<` and `<=`, or if you use `==` ever, it's a red flag that floating-point numbers might be the wrong data type.