Microsoft published its UWP-Calculator

Here you can discuss ReactOS related topics.

Moderator: Moderator Team

Post Reply
theuserbl
Posts: 121
Joined: Wed Mar 23, 2005 3:49 pm

Microsoft published its UWP-Calculator

Post by theuserbl » Thu Mar 07, 2019 12:45 am

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

theuserbl
Posts: 121
Joined: Wed Mar 23, 2005 3:49 pm

Re: Microsoft published its UWP-Calculator

Post by theuserbl » Thu Mar 07, 2019 12:53 am


hbelusca
Developer
Posts: 1120
Joined: Sat Dec 26, 2009 10:36 pm
Location: Zagreb, Croatia

Re: Microsoft published its UWP-Calculator

Post by hbelusca » Thu Mar 07, 2019 1:17 am

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?

theuserbl
Posts: 121
Joined: Wed Mar 23, 2005 3:49 pm

Re: Microsoft published its UWP-Calculator

Post by theuserbl » Thu Mar 07, 2019 1:20 am

hbelusca wrote:
Thu Mar 07, 2019 1:17 am
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?
Sorry. My mistake.
I mean sqrt(2.3)^2 - 2.3 which is on the Microsoft-calculator != 0.

Greetings
theuserbl

theuserbl
Posts: 121
Joined: Wed Mar 23, 2005 3:49 pm

Re: Microsoft published its UWP-Calculator

Post by theuserbl » Thu Mar 07, 2019 1:23 am

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

middings
Posts: 991
Joined: Tue May 07, 2013 9:18 pm
Location: California, USA

Re: Microsoft published its UWP-Calculator

Post by middings » Tue Mar 12, 2019 11:54 am


Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], DotBot [Crawler] and 3 guests