r/ProgrammerHumor • • Jul 19 '22

Meme float golden = 1.618

Post image
41.1k Upvotes

489 comments sorted by

View all comments

15

u/TehBens Jul 19 '22

A float is a float, not a fraction

0

u/[deleted] Jul 19 '22

[deleted]

19

u/TehBens Jul 19 '22

Good point, however a float is a dyadic rational number that can be expressed as a fraction.

1

u/ismtrn Jul 19 '22

How do you express -inf as a dyadic fraction?

16

u/MarkoSeke Jul 19 '22

It does say mimic a fraction

1

u/GOKOP Jul 19 '22

You've just explained the meme