this post was submitted on 02 Jan 2025
450 points (100.0% liked)

Programmer Humor

856 readers
3 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
[–] codexarcanum@lemmy.dbzer0.com 13 points 2 months ago (2 children)

Technically, floating point also imitates irrational and whole numbers as well. Not all numbers though, you'd need a more uhm... elaborate structure to represent complex numbers, surreal numbers, vectors, matrices, and so on.

[–] klangcola@reddthat.com 6 points 2 months ago

.... Surreal numbers?!?

[–] needanke@feddit.org 6 points 2 months ago

It does not even imitate all rationals. For example 1/3.