nifty@lemmy.world to Programmer Humor · 1 年前Stop using floatslemmy.worldimagemessage-square92fedilinkarrow-up1796arrow-down135
arrow-up1761arrow-down1imageStop using floatslemmy.worldnifty@lemmy.world to Programmer Humor · 1 年前message-square92fedilink
minus-squareZILtoid1991@lemmy.worldlinkfedilinkarrow-up1·1 年前Floats make a lot of math way simpler, especially for audio, but then you run into the occasional NaN error.
minus-squarejabjoe@feddit.uklinkfedilinkEnglisharrow-up1·1 年前On the PS3 cell processor vector units, any NaN meant zero. Makes life easier if there is errors in the data.
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.