this post was submitted on 02 Jan 2025
809 points (99.1% liked)

Programmer Humor

32710 readers
152 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

~~Stolen~~ Cross-posted from here: https://fosstodon.org/@foo/113731569632505985

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 4 days ago (1 children)

There’s really not a lot of situations where exact fractions work, but purely symbolic logic wouldn’t. Maybe none, IDK.

Simulations maybe? Like the ones for chaotic systems where even the slightest inaccuracy massively throws the result off, where the tiny difference between an exact fraction and a float can seriously impact the accuracy as small errors build up over time.

[–] [email protected] 2 points 3 days ago

Are you aware of one that takes place completely within fractions of a few select types? Usually they're continuous.

I can think of some that are all integers, but I covered that in the edit.