• pressanykeynow@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    2 days ago

    Ok, it’s not 2PiR now, but just PiR. Given how often 2Pi is used some mathematicians will actually be happy. Would be a mess with other constants though.

    Edit. Also all the people in IT will have a terrible week trying to figure out why their programs started working weird, then figuring out why they even need those constants. Log messages would be funny though.

    • KairuByte@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 day ago

      Constants are known at compile time, and therefore are more performant as they don’t need to be reasoned about at runtime.

      These days it’s not much of a performance boost but never a bad idea to use constants where appropriate.

    • harambe69@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      2 days ago

      I was talking more about physical constants, like magnetism, gravity, planck, etc. But sure, mathematical ones work, too. Probably even worse than physical constants doubling, since the doubling of mathematical ones would imply the corruption of reality itself.