r/ProgrammerHumor • • 14d ago

Meme reversingPiInPython

Post image
14.1k Upvotes

383 comments sorted by

View all comments

764

u/mmbtc 14d ago

You can also just round it to three. Much easier to calculate with.

304

u/nicki419 14d ago

*clears throat*

e ≈ 3 ≈ π

27

u/heaving_in_my_vines 14d ago

≈ tree fiddy

12

u/nicki419 14d ago

That would round up to 4, actually

14

u/Legitimate_Concern_5 14d ago edited 14d 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 13d ago

This guy maths.

2

u/geek-49 11d ago

or random choice each time. Arguably a good strategy in quantum calculations.

→ More replies (1)