MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1xqv0nj/reversingpiinpython/19sblsv0zlns3/?context=3
r/ProgrammerHumor • u/Apprehensive_Bit7392 • 26d ago
383 comments sorted by
View all comments
Show parent comment
305
*clears throat*
e ≈ 3 ≈ π
169 u/AvailableUsername404 26d ago π2 ≈ g ≈ 10 56 u/DaemonG 26d ago sqrt(10) ≈ n ≈ 3 36 u/Weird_Photograph_248 26d ago heh, you wrote squirt 27 u/heaving_in_my_vines 26d ago ≈ tree fiddy 12 u/nicki419 26d ago That would round up to 4, actually 14 u/Legitimate_Concern_5 26d ago edited 26d ago Depends on your rounding strategy, sometimes 3 sometime 4. Round half up is the most common but you can round half down, round half towards even (Banker's rounding/Gaussian rounding), round half towards odd, or towards/away from infinity. 2 u/Agreeable_Bread_2327 25d ago This guy maths. 2 u/geek-49 23d ago or random choice each time. Arguably a good strategy in quantum calculations. 1 u/hitthebucket2026 26d ago Depends how many decimals you're rounding from/to 3 u/MythicFuzzbal2 26d ago Dam you monster 1 u/brokendoorknob85 25d ago eiπ = -133i = -133i = eiπLn (33i) = ln (eiπ)3i ln 3 = iππ = 3 ln 33 = 3 ln 3Ln 3 = 1Wow this makes my math homework a lot easier, thanks!!!!!!!!! 1 u/FUCKING_HATE_REDDIT 26d ago =1
169
π2 ≈ g ≈ 10
56 u/DaemonG 26d ago sqrt(10) ≈ n ≈ 3 36 u/Weird_Photograph_248 26d ago heh, you wrote squirt
56
sqrt(10) ≈ n ≈ 3
36 u/Weird_Photograph_248 26d ago heh, you wrote squirt
36
heh, you wrote squirt
27
≈ tree fiddy
12 u/nicki419 26d ago That would round up to 4, actually 14 u/Legitimate_Concern_5 26d ago edited 26d ago Depends on your rounding strategy, sometimes 3 sometime 4. Round half up is the most common but you can round half down, round half towards even (Banker's rounding/Gaussian rounding), round half towards odd, or towards/away from infinity. 2 u/Agreeable_Bread_2327 25d ago This guy maths. 2 u/geek-49 23d ago or random choice each time. Arguably a good strategy in quantum calculations. 1 u/hitthebucket2026 26d ago Depends how many decimals you're rounding from/to 3 u/MythicFuzzbal2 26d ago Dam you monster
12
That would round up to 4, actually
14 u/Legitimate_Concern_5 26d ago edited 26d ago Depends on your rounding strategy, sometimes 3 sometime 4. Round half up is the most common but you can round half down, round half towards even (Banker's rounding/Gaussian rounding), round half towards odd, or towards/away from infinity. 2 u/Agreeable_Bread_2327 25d ago This guy maths. 2 u/geek-49 23d ago or random choice each time. Arguably a good strategy in quantum calculations. 1 u/hitthebucket2026 26d ago Depends how many decimals you're rounding from/to
14
Depends on your rounding strategy, sometimes 3 sometime 4. Round half up is the most common but you can round half down, round half towards even (Banker's rounding/Gaussian rounding), round half towards odd, or towards/away from infinity.
2 u/Agreeable_Bread_2327 25d ago This guy maths. 2 u/geek-49 23d ago or random choice each time. Arguably a good strategy in quantum calculations.
2
This guy maths.
or random choice each time. Arguably a good strategy in quantum calculations.
1
Depends how many decimals you're rounding from/to
3
Dam you monster
eiπ = -1
33i = -1
33i = eiπ
Ln (33i) = ln (eiπ)
3i ln 3 = iπ
π = 3 ln 3
3 = 3 ln 3
Ln 3 = 1
Wow this makes my math homework a lot easier, thanks!!!!!!!!!
=1
View all comments
Show parent comment
305
u/nicki419 26d ago
*clears throat*
e ≈ 3 ≈ π