Did You Ever Noticed This Bug In Windows Calculator?

There are some default programs like windows calculator which exhibit bug nature while using. Most of us consider them bugs before knowing how it has to be used actually. One such an error case for you, read further.

Open the calculator in your Windows operating system. To do this, you can simple press the start button and type ‘calc’ in the search bar or you can type ‘calc’ in ‘Run’.

After opening calculator, type ‘4’ and click on square root symbol in it. The answer would be the expected, ‘2’. Then remove ‘2’ from the result. The answer should be ‘0’ right? but the answer shown would be –1.06281969439142e-19. Still confused? take a look at the manual calculation below.

√4 = 2 and 2-2 should be 0

Why like this?

The typical operations in the windows calculator holds the answer in the same memory your typed-in value is taken, after calculation. For example,
if you type ‘2’ and press ‘=’, the answer would be 2 only. (or) if you type ‘2’ and press ‘+’ and then press ‘=’, the answer would be ‘4’. Take a look at the following screenshots from left to right,

                        calc bug explained calc bug explained 2 calc bug explained 3
It is as same as,
                                                              calc bug explained 4

Watch our video tutorial of Windows Calculator Bug

 

What actually happens?

What is happened at the background actually is that when you entered the number ‘1’, pressed ‘+’ and entered ‘2’ and again ‘+’ subsequently, the ‘+’ operator here takes care of calculation and you no need to press ‘=’ every time.

In this operational process, windows calculator starts calculating the entered numbers preceding a particular operator and then it expects input from user.

In this context, when you typed ‘4’ and ‘√’ symbol (remember you typed the operator after the number here also), it shows the answer ‘2’ after immediate calculation without again pressing ‘=’. Now you might have realized that how a calculation would be performed in windows calculator.

What we mistakenly do?

The bug we are assuming is not actually a bug in the calculator. As I said earlier, the calculator programs stores the result in the same memory your typed-in value is taken. That means, after doing the typical operation of √4, the result will be stored in the memory as shown in the screenshot below.

If you press minus, the result won’t change at all because it was already  calculated. Then, you just have to press ‘=’ to get the result. We press again ‘-‘ and ‘2’ mistakenly, so result comes cramped. Take a look at the screenshots from left to right below for better understanding.

                      calc bug explained 5 calc bug explained 6 calc bug explained 7

Does it still seem a bug? Comment below to share your opinions on it!

0/Post a reply/Replies

Previous Post Next Post