Subscribe to our YouTube Channel for more Videos

Is this Windows Phone Calculator Bug ?

Just noticed one of the error in Windows Phone Calculator when performing an calculation …

Below are steps to reproduce this

1. Open the Windows Phone Calculator and switch to the LandScape view.

2. Enter the number 4 and tap Square root button . This will give the result 2.

3. Now subtract 2 from the above answer . What is the expected result ? Zero ? . You will get a different result as shown in the screenshot.

Is this Windows Phone Calculator Bug ?
Is this Windows Phone Calculator Bug ?

When trying the same on my Windows 7 Desktop too resulted in the same value …

Is that a Bug ? I think its a Kindoff Bug probably rounding error …

Got an update from @kunal2383 regarding this error . Here’s an article that describes the floating-point numbers. . Thanks Kunal 🙂

Senthil Kumar B
Senthil Kumar is a former Microsoft MVP (Most Valuable Professional). He is a Co-Author of the book "Windows 10 Development Recipes using JavaScript and CSS" for Apress Publication. He is a technical presenter, blogger, mentor and a Geek.  Senthil is a regular speaker is various local user groups. He has presented at conferences like Great Indian Developer Summit (GIDS) & Microsoft DevCamps. You can reach out to him via his Twitter handle @isenthil.