Windows Calculator: Difference between revisions

Content deleted Content added
AnomieBOT (talk | contribs)
m Dating maintenance tags: {{Citation needed}}
WP:AWB WP:CHECKWIKI 16/90/91 cleanup, et. al., replaced: ~1 → ≈1
Line 13:
| repo = {{URL|https://github.com/Microsoft/calculator}}
| programming language = [[C++]], [[C Sharp (programming language)|C#]]
| operating system = All versions of [[Microsoft Windows]], [[Xbox system software]],{{cncitation needed|date=January 2024}} [[Windows 10 Mobile]], [[Windows Phone]]
| platform = [[IA-32]], [[x86-64]], [[ARM architecture|ARMv7-A]], and [[AArch64|ARMv8-A]] (and historically [[DEC Alpha]], [[Itanium]], [[MIPS architecture|MIPS]], and [[PowerPC]])
| genre = [[Software calculator]]
Line 23:
The Windows Calculator is one of a few applications that have been bundled in all versions of Windows, starting with [[Windows 1.0]]. Since then, the calculator has been upgraded with various capabilities.
 
In addition, the calculator has also been included with [[Windows Phone]]<ref>{{cite web|url=https://www.drwindows.de/news/7875-windows-phone-8-1-windows-10-mobile|title=Von Windows Phone 8.1 zu Windows 10 Mobile: Eine kleine Revolution in Screenshots|date=27 October 2015|access-date=27 January 2024|language=de|publisher=Dr.Windows}}</ref> and [[Xbox One]].{{cncitation needed|date=January 2024}} The Microsoft Store page proclaims [[HoloLens]] support as of February 2024, but the Calculator app is not installed on HoloLens by default.
 
==History==
Line 31:
 
===Windows 9x and Windows NT 4.0===
Until [[Windows 95]], it uses an [[IEEE 754-1985]] [[double-precision floating-point]], and the highest representable number by the calculator is 2<sup>1024</sup>, which is slightly above 10<sup>308</sup> (~1≈1.80 × 10<sup>308</sup>).
 
In [[Windows 98]] and later, it uses an [[arbitrary-precision arithmetic]] library, replacing the standard [[IEEE]] [[floating point]] library.<ref>{{Cite web |url=http://blogs.msdn.com/oldnewthing/archive/2004/05/25/141253.aspx |title=The Old New Thing Blog: When you change the insides, nobody notices |access-date=2007-05-28 |archive-url=https://web.archive.org/web/20100306165045/http://blogs.msdn.com/oldnewthing/archive/2004/05/25/141253.aspx |archive-date=2010-03-06 |url-status=dead }}</ref> It offers [[bignum]] precision for basic operations (addition, subtraction, multiplication, division) and 32 digits of precision for advanced operations ([[square root]], [[transcendental function]]s). The largest value that can be represented on the Windows Calculator is currently {{nowrap|<10<sup>10,000</sup>}} and the smallest is {{nowrap|10<sup>−9,999</sup>}}. (Also [[Factorial|!]] calculates the [[gamma function]] which is defined over all real numbers, only excluding the negative integers).
Line 43:
 
These are the last versions of Windows Calculator, where calculating with [[Binary number|binary]]/[[decimal]]/[[hexadecimal]]/[[octal]] numbers is included into scientific mode. In Windows 7, they were moved to ''programmer mode'', which is a new separate mode that co-exists with ''scientific mode''.
 
===Windows 7===
In [[Windows 7]], separate programmer, statistics, unit conversion, date calculation, and worksheets modes were added. Tooltips were removed. Furthermore, Calculator's interface was revamped for the first time since its introduction. The base conversion functions were moved to the programmer mode and statistics functions were moved to the statistics mode. Switching between modes does not preserve the current number, clearing it to 0.
Line 105 ⟶ 106:
 
==Issues==
{{stubsectexpand section|date=May 2020}}
 
* In Windows 7, 8, and some versions of Windows 10, [[transcendental function]] operations, such as the [[square root]] operator (<code>sqrt(4) &minus; 2 = &minus;8.1648465955514287168521180122928e&minus;39</code>), would sometimes be calculated incorrectly due to [[catastrophic cancelation]].<ref>{{Cite web|title=Microsoft Fixes Decade-Old Windows Calculator Square Root Bug|url=https://news.softpedia.com/news/microsoft-fixes-decade-old-windows-calculator-square-root-bug-520559.shtml|access-date=2023-04-15|website=news.softpedia.com|date=5 April 2018 |language=en-US}}</ref> In newer versions, this doesn't happen with integers, but it still happens when you enter decimal numbers.{{Citation needed|date=July 2024}}