Microsoft published its UWP-Calculator

Here you can discuss ReactOS related topics.

Moderator: Moderator Team

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

Microsoft published its UWP-Calculator

Post by theuserbl »

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: 140
Joined: Wed Mar 23, 2005 3:49 pm

Re: Microsoft published its UWP-Calculator

Post by theuserbl »

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

Re: Microsoft published its UWP-Calculator

Post by hbelusca »

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: 140
Joined: Wed Mar 23, 2005 3:49 pm

Re: Microsoft published its UWP-Calculator

Post by theuserbl »

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: 140
Joined: Wed Mar 23, 2005 3:49 pm

Re: Microsoft published its UWP-Calculator

Post by theuserbl »

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: 1073
Joined: Tue May 07, 2013 9:18 pm
Location: California, USA

Re: Microsoft published its UWP-Calculator

Post by middings »

Post Reply

Who is online

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