757
Stop using floats
(lemmy.world)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Floats make a lot of math way simpler, especially for audio, but then you run into the occasional NaN error.
On the PS3 cell processor vector units, any NaN meant zero. Makes life easier if there is errors in the data.