in reply to Re^2: Perl 5 numeric type and simplifications
in thread Perl 5 numeric type and simplifications

Did I say it's a Perl problem?

I learned the terms "rounding error" and "accumulated rounding error" in CS classes at university for these effects. °

To be sure it's not a translation problem, I searched and found (among many others) this English Wikipedia article

> Rounding error

A roundoff error, also called rounding error, is the difference between the result produced by a given algorithm using exact arithmetic and the result produced by the same algorithm using finite-precision, rounded arithmetic.

Rounding errors are due to inexactness in the representation of real numbers and the arithmetic operations done with them.

So what exactly is your problem now?

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

update

°) actually I think I already learned it in school in physics classes. The concept is older than CS. I suppose it was introduced a century earlier by Carl Friedrich Gauß.

  • Comment on Re^3: Perl 5 numeric type and simplifications

Replies are listed 'Best First'.
Re^4: Perl 5 numeric type and simplifications
by syphilis (Archbishop) on May 07, 2021 at 12:53 UTC
    A roundoff error, also called rounding error, is the difference between the result produced by a given algorithm using exact arithmetic and the result produced by the same algorithm using finite-precision, rounded arithmetic.

    I didn't realize this was a CS forum. (For some reason I thought it was a perl discussion forum ;-)
    Still, I now better understand where you're coming from.

    If you can now just show us where/how this jargon implies that any of these so-called "errors" should be deemed to be a "flaw", then you'll have presented your case most admirably.

    So what exactly is your problem now?

    Hmmm ... for the moment, my main all-consuming problem is that I'm mortal, and will one day no longer continue to exist :-(
    On the plus side, however, I'm well aware that this problem will go away at some point in the future. (Yay !!!)

    Cheers,
    Rob
      > I didn't realize this was a CS forum.

      And I didn't realize this was an "alternative facts" forum.

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery

        And I didn't realize this was an "alternative facts" forum

        Don't feel too bad about that.
        After all, you're the only one here who has recognized the "alternative fact" that these "rounding errors" are actually "flaws".

        Cheers,
        Rob