274
you are viewing a single comment's thread
view the rest of the comments
[-] anton@lemmy.blahaj.zone 1 points 22 minutes ago

Once you accept that each float represent a range of reals most design decisions make sense.
Infinity is just the name given to values that are too large to represent otherwise and negative zero includes negative values too close to zero.

What mathematics probably hate most about floats is that rounding breaks commutativity.

this post was submitted on 14 Nov 2026
274 points (97.9% liked)

Programmer Humor

34135 readers
1937 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 3 years ago
MODERATORS