762
Stop using floats (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] ZILtoid1991@lemmy.world 1 points 1 year ago

Floats make a lot of math way simpler, especially for audio, but then you run into the occasional NaN error.

[-] jabjoe@feddit.uk 1 points 1 year ago

On the PS3 cell processor vector units, any NaN meant zero. Makes life easier if there is errors in the data.

this post was submitted on 26 Feb 2024
762 points (95.8% liked)

Programmer Humor

22157 readers
2543 users here now

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.

Rules

founded 2 years ago
MODERATORS