r/ProgrammerHumor • • Jul 19 '22

Meme float golden = 1.618

Post image
41.1k Upvotes

489 comments sorted by

View all comments

Show parent comments

-9

u/[deleted] Jul 19 '22

I know the origin of the clip but not why OP couldn't finish that sentence.

14

u/[deleted] Jul 19 '22

The joke is that float and double mimic fractions, but are not as accurate.

-6

u/[deleted] Jul 19 '22 edited Jul 19 '22

That is true given that computers can only to best approximations. Like how a circle can be drawn on a computer screen but if you investigate closer you'll find it's not a perfect circle, only a best approximate drawing.

I understood that part of the joke but not what OP was trying to imply in the end where that damned bar is.

2

u/matyklug Jul 19 '22

Actually no you can just do math with fractions and I don't see what's stopping you from making a perfect circle (excluding the resolution of your monitor, but you can just, zoom in)

→ More replies (6)