Microsoft published its Windows 10 Calculator (the UWP one) as Open Source:

https://github.com/Microsoft/calculator

I know, currently it is uninteresting for ReactOS. But if ReactOS in any time tries to be Windows 10 compatible, the calculator for that system exists

Also this is an UWP-port of the old Win32 calc.exe.

Because it have had at the beginning the same bugs.

For example sqrt(2)^2 -2 != 0.

That was in the meantime fixed by Microsoft. But sqrt(2.3)^2.3 - 2.3 is still != 0. And it is still the same result as the WinXP calc.exe have.

So if you would like to look at the algorithms of the WinXP calc.exe, this is the developed further version of it.

Greetings

theuserbl

## Microsoft published its UWP-Calculator

**Moderator:** Moderator Team

### Re: Microsoft published its UWP-Calculator

Here the links to the mentiond bugs

https://blogs.msdn.microsoft.com/oldnew ... 0/?p=99165

https://blogs.msdn.microsoft.com/oldnew ... 0/?p=93765

Greetings

theuserbl

https://blogs.msdn.microsoft.com/oldnew ... 0/?p=99165

https://blogs.msdn.microsoft.com/oldnew ... 0/?p=93765

Greetings

theuserbl

### Re: Microsoft published its UWP-Calculator

Why would you want to have sqrt(2.3)^2.3 - 2.3 == 0 ? (it should not be equal to zero)

Power of 2.3 is **NOT** the inverse function of square-root.

Or I don't understand your comment?

Power of 2.3 is **NOT** the inverse function of square-root.

Or I don't understand your comment?

### Re: Microsoft published its UWP-Calculator

Sorry. My mistake.

I mean sqrt(2.3)^2 - 2.3 which is on the Microsoft-calculator != 0.

Greetings

theuserbl

### Re: Microsoft published its UWP-Calculator

And for pwople who understand german or who wants to translate it with an Online-translater.

Here the heise-news about the fixwed calculator

https://heise.de/-4104279

Someone who have found out, that the fix have a bug, too

https://www.heise.de/forum/heise-online ... 6944/show/

And someoine who is interested in the source code

https://www.heise.de/forum/heise-online ... 7319/show/

Greetings

theuserbl

Here the heise-news about the fixwed calculator

https://heise.de/-4104279

Someone who have found out, that the fix have a bug, too

https://www.heise.de/forum/heise-online ... 6944/show/

And someoine who is interested in the source code

https://www.heise.de/forum/heise-online ... 7319/show/

Greetings

theuserbl

### Re: Microsoft published its UWP-Calculator

Here are some interesting articles relevant to the Microsoft Windows calculator app written by Raymond Chen.

### Who is online

Users browsing this forum: Baidu [Spider] and 3 guests