Stop using floats - eviltoast
    • YTG123@feddit.ch
      link
      fedilink
      arrow-up
      9
      ·
      edit-2
      9 months ago

      Perhaps you can encode them as computation (i.e. a function of arbitrary precision)

      • Magnetar@feddit.de
        link
        fedilink
        arrow-up
        1
        ·
        9 months ago

        Hard to do as those functions are often limits and need infinite function applications. I’m telling you, math.PI is a finite lie!

    • smeg@feddit.uk
      link
      fedilink
      English
      arrow-up
      6
      ·
      9 months ago

      Do we even have a good way of encoding them in real life without computers?

    • Chadus_Maximus@lemm.ee
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      9 months ago

      May I propose a dedicated circuit (analog because you can only ever approximate their value) that stores and returns transcendental/irrational numbers exclusively? We can just assume they’re going to be whatever value we need whenever we need them.

      • frezik@midwest.social
        link
        fedilink
        arrow-up
        2
        ·
        9 months ago

        Wouldn’t noise in the circuit mean it’d only be reliable to certain level of precision, anyway?

        • Chadus_Maximus@lemm.ee
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          9 months ago

          I mean, every irrational number used in computation is reliable to a certain level of precision. Just because the current (heh) methods aren’t precise enough doesn’t mean they’ll never be.