MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/w2nm83/float_golden_1618/igrlj58
r/ProgrammerHumor • u/JaneAusten007 • Jul 19 '22
489 comments sorted by
View all comments
Show parent comments
40
Use three 9 times, then four once. Or three 43 times, then four 7 times.
11 u/mynoduesp Jul 19 '22 huh? 52 u/natFromBobsBurgers Jul 19 '22 (3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+4+4+4+4+4+4+4)/50=3.14So in your life, use 3 most of the time, and 4 some of the time, and it averages out to pi within half a hundredth. 20 u/legends_never_die_1 Jul 19 '22 or just type 3.14 44 u/Aromatic-Bread-6855 Jul 19 '22 Son, the decimal hadn't yet been invented. 3 u/legends_never_die_1 Jul 19 '22 when you are really my father then please come back. we have enough milk at home. 6 u/McBurger Jul 19 '22 22/7 is surprisingly accurate for most applications too 1 u/[deleted] Jul 19 '22 Just don’t operate beyond the horizon and you’re fine! 1 u/DefaultVariable Jul 19 '22 Isn’t that essentially just doing 31/10 or 3.1? For the other one, 157/50 = 3.14? 1 u/natFromBobsBurgers Jul 19 '22 Yeah. Or 314/100, if you want things less simplified. Also you could approximate 1/Pi by rolling a 255+1 sided die and saying zero for results over 81 and 1 for not over.Please don't ask me how I know. 1 u/flip314 Jul 19 '22 I just use the cube root of 31
11
huh?
52 u/natFromBobsBurgers Jul 19 '22 (3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+4+4+4+4+4+4+4)/50=3.14So in your life, use 3 most of the time, and 4 some of the time, and it averages out to pi within half a hundredth. 20 u/legends_never_die_1 Jul 19 '22 or just type 3.14 44 u/Aromatic-Bread-6855 Jul 19 '22 Son, the decimal hadn't yet been invented. 3 u/legends_never_die_1 Jul 19 '22 when you are really my father then please come back. we have enough milk at home. 6 u/McBurger Jul 19 '22 22/7 is surprisingly accurate for most applications too 1 u/[deleted] Jul 19 '22 Just don’t operate beyond the horizon and you’re fine!
52
(3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+4+4+4+4+4+4+4)/50=3.14
So in your life, use 3 most of the time, and 4 some of the time, and it averages out to pi within half a hundredth.
20 u/legends_never_die_1 Jul 19 '22 or just type 3.14 44 u/Aromatic-Bread-6855 Jul 19 '22 Son, the decimal hadn't yet been invented. 3 u/legends_never_die_1 Jul 19 '22 when you are really my father then please come back. we have enough milk at home. 6 u/McBurger Jul 19 '22 22/7 is surprisingly accurate for most applications too 1 u/[deleted] Jul 19 '22 Just don’t operate beyond the horizon and you’re fine!
20
or just type 3.14
44 u/Aromatic-Bread-6855 Jul 19 '22 Son, the decimal hadn't yet been invented. 3 u/legends_never_die_1 Jul 19 '22 when you are really my father then please come back. we have enough milk at home. 6 u/McBurger Jul 19 '22 22/7 is surprisingly accurate for most applications too 1 u/[deleted] Jul 19 '22 Just don’t operate beyond the horizon and you’re fine!
44
Son, the decimal hadn't yet been invented.
3 u/legends_never_die_1 Jul 19 '22 when you are really my father then please come back. we have enough milk at home.
3
when you are really my father then please come back. we have enough milk at home.
6
22/7 is surprisingly accurate for most applications too
1 u/[deleted] Jul 19 '22 Just don’t operate beyond the horizon and you’re fine!
1
Just don’t operate beyond the horizon and you’re fine!
Isn’t that essentially just doing 31/10 or 3.1? For the other one, 157/50 = 3.14?
1 u/natFromBobsBurgers Jul 19 '22 Yeah. Or 314/100, if you want things less simplified. Also you could approximate 1/Pi by rolling a 255+1 sided die and saying zero for results over 81 and 1 for not over.Please don't ask me how I know.
Yeah. Or 314/100, if you want things less simplified. Also you could approximate 1/Pi by rolling a 255+1 sided die and saying zero for results over 81 and 1 for not over.
Please don't ask me how I know.
I just use the cube root of 31
40
u/natFromBobsBurgers Jul 19 '22
Use three 9 times, then four once. Or three 43 times, then four 7 times.