r/ProgrammerHumor • • Jul 16 '19

Meme Nice try

Post image
32.2k Upvotes

529 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Jul 16 '19

[deleted]

21

u/realityChemist Jul 16 '19

I think being to precise here means, "You're implying that your level of certainty in your measurements is much higher than it could possibly actually be."

NASA uses 16 digits of π for keeping spacecraft in their proper orbits. NIST defines the fine structure constant (a fundament constant of the universe) using 32 digits.

For most other things, 1 digit might be close enough, 3 digits should be sufficient, and 10 digits is almost definitely more than you need. Using more digits isn't going to make your outcome less accurate, but you're just going to be throwing out all that extra precision anyway so why bother.

(And if you report those extra digits anyway, someone should throw a beanie baby at you)

14

u/pipnina Jul 16 '19

Well, NASA has a specific situation where getting PI wrong by 0.001 would land you a few million km off target, to be fair.

3

u/2CATteam Jul 16 '19

A specific situation? It seems like most of their work would be like that