Bug report: Math is hard

• Just got a massive spreadsheet, with a few examples that work and a couple where the programs shows the "wrong" value. After spending 10 minutes or so trying to understand what that spreadsheet means, it boiled down to:

"The program, which shows a number which should be a total of 119.78 and 20.62, shows 140.42* rather than the expected 119.34."

My resposne?

* the .02 difference is due to known problems with their calculations, namely that they can't grasp the concept of powers and try to use multiplication and division instead.

• The mind boggles, the flabber gasts. Why would anyway expect the total of two positive numbers to be smaller? Why can't they see that 119.something plus 20.something must be about 140? What part of total went wrong in their minds: to? tal?

• Oh my gosh, the bug is in Microsoft's calculator, too? It must be somewhere in a shared library!

• See?  The same bug exists in this "Calculator" program you are using.  Let's see if any other code is affected by it...

[url=https://www.google.ca/search?q=119.78+plus+20.62]Holy crap there's the bug again[/url]!  They must all be using the same buggy library or something.

I'm going to try using a pencil and paper...  Whoah!  No wonder we're getting the wrong answer so often, everybody probably based their code on the broken implementation in this pencil.  Contact the QA people, tell them to get boxes of pencils and paper from every supplier we have and see if any of them exhibit the same floating point bug.

This looks important, we should make sure to tell everybody about this and make sure that our company name is associated with finding this problem.  This could be bigger than the microchip!

• There's got to be some misunderstanding somewhere.

I need to know their response!

• @configurator said:

"The program, which shows a number which should be a total of 119.78 and 20.62, shows 140.42* rather than the expected 119.34."

You work for Enron, by any chance?

• @dhromed said:

(random tags like "mini nukes" and stuff)

what is the use of the tags you put on your posts?

• @leonardo said:

@dhromed said:

(random tags like "mini nukes" and stuff)

what is the use of the tags you put on your posts?

You must be new here.

• @DescentJS said:

Filed under: Expecting sense from tags is a sure sign of inexperience with this place

Hey, the tags make perfect sense. It's the context that's missing.

• @DescentJS said:

@leonardo said:

@dhromed said:

(random tags like "mini nukes" and stuff)

what is the use of the tags you put on your posts?

You must be new here.

personal obsession

• @leonardo said:

what is the use of the tags you put on your posts?

I have a greasemonkey script with a large and categorically diverse set of lemmas, which are automatically randomly selected for use.

• @aihtdikh said:

personal obsession

And I don't even do wacky tobacky. I just lol'd when someone on another forum used the term.

• @dhromed's signature said:

That is all.

• @Zecc said:

That is all.

No, you forgot Karkat.

• Reality Error: Abort, Retry, or Fail ?

• @Cassidy said:

@configurator said:

"The program, which shows a number which should be a total of 119.78 and 20.62, shows 140.42* rather than the expected 119.34."

You work for Enron, by any chance?

Nah - I'm guessing Intel.

• @dhromed said:

you forgot KarkatPoland.

• @dhromed said:

@Zecc said:

That is all.

No, you forgot Karkat.

I was expecting someone to say that.

No, I don't think you're predictable.

• @dhromed said:

@leonardo said:

what is the use of the tags you put on your posts?

I have a greasemonkey script with a large and categorically diverse set of lemmas, which are automatically randomly selected for use.

That's it! I just had to re-install my script that automatically selects a certain number of the most relevant tags for a post.

• @derula said:

my script

I am interested in the workings of your script.

Looks like your connection to What the Daily WTF? was lost, please wait while we try to reconnect.