Meme of two women fighting while a man smokes from a pipe in the background.

The women fighting are labeled “mathematicians defining pi” and “engineers just using 3 because it’s within tolerance”

The man smoking is labeled “astrophysicists” and the pipe is labeled “pi = 1”

  • AmazingAwesomator@lemmy.world
    link
    fedilink
    English
    arrow-up
    49
    ·
    1 day ago

    as an engineer, a lot of languages (even proprietary ones) have a built-in constant pi variable because it is so ubiquitous - its easier and more readable to use pi than 3…

    • I_Has_A_Hat@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      20 hours ago

      I’ve also never seen a fellow engineer simplify pi to just 3, although I have seen a rise of memes from people who think they do.

      I would slap someone if I saw them try that, it’s unnecessarily sloppy. 3.14 is the default, and trivial to work with if you’re using a calculator (I would also slap someone if I saw them not using a calculator). Unless you just LIKE having all your calculations be off by almost 5%. Then you’ll come back wondering why so many of your parts are out of tolerance.

    • Mad_Punda@feddit.org
      link
      fedilink
      English
      arrow-up
      14
      ·
      1 day ago

      And then you’re using C++ and they scold you for including cmath for just M_PI because it increases compilation times.