• Giooschi@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    11 months ago

    TBF the error can become that big if you do a bunch of unstable operations (i.e. operations that continue to increase the relative error), though that’s probably not what is happening here.

    • MotoAsh@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      11 months ago

      To get to 0.01 error, you’d need to add up trillions of trillions of floating point errors. It will not happen solely because of floating point unless you’re doing such crazy math that you shouldn’t be using primitives in the first place.

      • Giooschi@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 months ago

        That’s why I said unstable operations. Addition is considered a stable operation (for values with the same sign)