this post was submitted on 26 Feb 2024
748 points (95.7% liked)

Programmer Humor

19817 readers
905 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
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] ZILtoid1991 1 points 9 months ago (1 children)

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

[โ€“] [email protected] 1 points 9 months ago

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