757
Stop using floats (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] ZILtoid1991@lemmy.world 1 points 8 months 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 8 months 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
757 points (95.8% liked)

Programmer Humor

19589 readers
431 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 1 year ago
MODERATORS