4 ms·
Float comparison is an anti-pattern. Use an epsilon instead. https://stackoverflow.com/questions/4915462/how-should-i-do-floating-point-comparison https://stack
by smnscu 6y ago
Float comparison is an anti-pattern. Use an epsilon instead. https://stackoverflow.com/questions/4915462/how-should-i-do-floating-point-comparison https://stackoverflow.com/questions/4915462/how-should-i-do-...
- tasn 6y agoI know, it's an example I was hoping clippy would catch in order for it to fail so I know it works. Read what I wrote...