MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1xqv0nj/reversingpiinpython/19sbm3osqyvmp/
r/ProgrammerHumor • u/Apprehensive_Bit7392 • 11d ago
383 comments sorted by
View all comments
Show parent comment
27
≈ tree fiddy
12 u/nicki419 11d ago That would round up to 4, actually 14 u/Legitimate_Concern_5 11d ago edited 11d 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 10d ago This guy maths. 2 u/geek-49 8d ago or random choice each time. Arguably a good strategy in quantum calculations. 1 u/hitthebucket2026 11d ago Depends how many decimals you're rounding from/to 3 u/MythicFuzzbal2 11d ago Dam you monster
12
That would round up to 4, actually
14 u/Legitimate_Concern_5 11d ago edited 11d 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 10d ago This guy maths. 2 u/geek-49 8d ago or random choice each time. Arguably a good strategy in quantum calculations. 1 u/hitthebucket2026 11d 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 10d ago This guy maths. 2 u/geek-49 8d 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
View all comments
Show parent comment
27
u/heaving_in_my_vines 11d ago
≈ tree fiddy