770
Stop using floats (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] davidgro@lemmy.world 46 points 9 months ago

Serious answer: Posits seem cool, like they do most of what floats do, but better (in a given amount of space). I think supporting them in hardware would be awesome, but of course there's a chicken and egg problem there with supporting them in programming languages.

[-] Quetzalcutlass@lemmy.world 21 points 9 months ago* (last edited 9 months ago)

Posits aside, that page had one of the best, clearest explanations of how floating point works that I've ever read. The authors of my college textbooks could have learned a thing or two about clarity from this writer.

[-] Kodiack@lemmy.world 3 points 9 months ago* (last edited 9 months ago)

I had the great honour of seeing John Gustafson give a presentation about unums shortly after he first proposed posits (type III unums). The benefits over floating point arithmetic seemed incredible, and they seemed largely much more simple.

I also got to chat with him about “Gustafson’s Law”, which kinda flips Amdahl’s Law on its head. Parallel computing has long been a bit of an interest for me I was also in my last year of computer science studies then and we were covering similar subjects at the time. I found that timing to be especially amusing.

this post was submitted on 26 Feb 2024
770 points (100.0% liked)

Programmer Humor

19813 readers
206 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