请输入您要查询的百科知识:

 

词条 Windows Calculator
释义

  1. History

     Windows 7  Windows 8.1  Windows 10 

  2. Features

  3. Calculator Plus

  4. See also

  5. References

  6. External links

{{short description|Calculator application included in Microsoft Windows}}{{Refimprove|date=December 2008}}{{Infobox software
| name = Windows Calculator
| logo = Windows Calculator Logo.png
| logo_size = x64px
| screenshot = Windows_10_Calculator.png
| screenshot_size = 250px
| caption = Calculator in Windows 10 in light mode
| developer = Microsoft
| repo = {{URL|https://github.com/Microsoft/calculator}}
| operating system = All versions of Microsoft Windows
| genre = Software calculator
| license = MIT License
}}

Windows Calculator is a software calculator included in all versions of Windows.

History

A simple arithmetic calculator was first included with Windows 1.0.[1]

In Windows 3.0, a scientific mode was added, which included exponents and roots, logarithms, factorial-based functions, trigonometry (supports radian, degree and gradians angles), base conversions (2, 8, 10, 16), logic operations, statistical functions such as single variable statistics and linear regression.

In Windows 98 and later, it uses an arbitrary-precision arithmetic library, replacing the standard IEEE floating point library.[2] It offers bignum precision for basic operations (addition, subtraction, multiplication, division) and 32 digits of precision for advanced operations (square root, transcendental functions). The largest value that can be represented on the Windows Calculator is currently {{nowrap|<1010,000}} and the smallest is {{nowrap|10−9,999}}. (Also ! calculates Gamma function not just factorial so one can get 4.7! ).

In Windows 2000, digit grouping is added. Degree and base settings are added to menu bar.

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.

In every mode except programmer mode, one can see the history of calculations. The app was redesigned to accommodate multi-touch. Standard mode behaves as a simple checkbook calculator; entering the sequence 6 * 4 + 12 / 4 - 4 * 5 gives the answer 25. In scientific mode, order of operations is followed while doing calculations (multiplication and division are done before addition and subtraction), which means 6 * 4 + 12 / 4 - 4 * 5 = 7.

In programmer mode, inputting a number in decimal has a lower and upper limit, depending on the data type, and must always be an integer. Data type of number in decimal mode is signed n-bit[3] integer when converting from number in hexadecimal, octal, or binary mode.

Data type Size of data type (bits) Lower limit Upper limit
Byte 8 -128 127
Word 16 -32,768 32,767
Dword 32 -2,147,483,648 2,147,483,647
Qword 64 -9,223,372,036,854,775,808 9,223,372,036,854,775,807

On the right of the main Calculator, one can add a panel with date calculation, unit conversion and worksheets. Worksheets allow one to calculate a result of a chosen field based on the values of other fields. Pre-defined templates include calculating a car's fuel economy (mpg and L/100 km),[4] a vehicle lease, and a mortgage. In pre-beta versions of Windows 7, Calculator also provided a Wages template.

Windows 8.1

While the traditional Calculator is still included with Windows 8.1, a Metro-style Calculator is also present, featuring a full-screen interface as well as normal, scientific, and conversion modes.[5]

Windows 10

The Calculator in non-LTSC editions of Windows 10 is a Universal Windows Platform app. In contrast, Windows 10 LTSC (which does not include universal Windows apps) includes the traditional calculator, but which is now named {{code|win32calc.exe}}. Both calculators provide the features of the traditional calculator included with Windows 7, such as a unit conversions for volume, length, weight, temperature, energy, area, speed, time, power, data, pressure and angle, and the history list which the user can clear.

Both the universal Windows app and LTSC's {{code|win32calc.exe}} register themselves with the system as handlers of a '{{code|calculator:}}' pseudo-protocol. This registration is similar to that performed by any other well-behaved application when it registers itself as a handler for a filetype (e.g. {{code|.jpg}}) or protocol (e.g. {{code|http:}}).

All Windows 10 editions (both LTSC and non-LTSC) continue to have a {{code|calc.exe}}, which however is just a stub that launches (via ShellExecute) the handler that is associated with the '{{code|calculator:}}' pseudo-protocol. As with any other protocol or filetype, when there are multiple handlers to choose from, users are free to choose which handler they prefer{{mdash}} either via the classic control panel ('Default programs' settings) or the immersive UI settings ('Default Apps' settings) or from the command prompt via {{code|OpenWith calculator:}}.

In the Windows 10 Fall Creators Update, a currency converter mode was added to Calculator.[6]

On 6 March 2019, Microsoft released the source code for Calculator on GitHub under the MIT License.[7]

Features

By default, Calculator runs in standard mode, which resembles a four-function calculator. More advanced functions are available in scientific mode, including logarithms, numerical base conversions, some logical operators, operator precedence, radian, degree and gradians support as well as simple single-variable statistical functions. It does not provide support for user-defined functions, complex numbers, storage variables for intermediate results (other than the classic accumulator memory of pocket calculators), automated polar-cartesian coordinates conversion, or support for two-variables statistics.

Calculator supports keyboard shortcuts; all Calculator features have an associated keyboard shortcut.[8]

Calculator in programmer mode cannot accept or display a number larger than a signed QWORD (16 hexadecimal digits/64 bits). The largest number it can handle is therefore 0x7FFFFFFFFFFFFFFF (decimal 9,223,372,036,854,775,807). Any calculations in programmer mode which exceed this limit will overflow, even if those calculations would succeed in other modes. In particular, scientific notation is not available in this mode.

Calculator Plus

Calculator Plus is a separate application for Windows XP and Windows Server 2003 users that adds a 'Conversion' mode over the Windows XP version of the Calculator. The 'Conversion' mode supports unit conversion and currency conversion. Currency exchange rates can be updated using the built-in update feature, which downloads exchange rates from the European Central Bank.

See also

{{Portal|Free and open-source software}}
  • Formula calculator
  • List of formerly proprietary software
  • Microsoft Mathematics
  • Power Calculator

References

1. ^Windows 1.01 - Graphical User Interface Gallery
2. ^The Old New Thing Blog: When you change the insides, nobody notices
3. ^Where n is either: 8 for Byte, 16 for Word, 32 for Dword, or 64 for Qword.
4. ^Calculate Fuel Economy - Windows 7 (MalekTips)
5. ^{{cite web|title=Hands-On with Windows 8.1: New Utility Apps|url=http://winsupersite.com/windows-8/hands-windows-81-new-utility-apps|work=Paul Thurrott's Supersite for Windows|accessdate=September 24, 2013}}
6. ^[https://blogs.windows.com/windowsexperience/2017/12/28/windows-10-tip-travel-easier-built-currency-converter/#t0KTuJAB5mK3CHM6.97 - Windows 10 Tip: Travel easier with the built-in currency converter]
7. ^{{Cite web|url=https://www.zdnet.com/article/microsoft-is-open-sourcing-windows-calculator-on-github/|title=Microsoft is open-sourcing Windows Calculator on GitHub|last=Foley|first=Mary Jo|authorlink=Mary Jo Foley|date=6 March 2019|website=ZDNet|archive-url=|archive-date=|dead-url=|access-date=6 March 2019}}
8. ^{{Cite web|url = http://windows.microsoft.com/en-us/windows/keyboard-shortcuts#keyboard-shortcuts=windows-8|title = Keyboard shortcuts|accessdate = 11 March 2013|website = Windows 8 Help|publisher = Microsoft}}

External links

  • [https://www.microsoft.com/store/productId/9WZDNCRFHVN5 Windows Calculator] on Microsoft Store
  • [https://github.com/Microsoft/calculator Source code on GitHub]
  • [https://web.archive.org/web/20090316031019/http://www.microsoft.com/downloads/details.aspx?FamilyID=32b0d059-b53a-4dc9-8265-da47f157c091&displaylang=en Microsoft Calculator Plus]
  • [https://web.archive.org/web/20090315200359/http://www.winsupersite.com/win7/ff_calc.asp Windows 7 Feature Focus Calculator]
{{Windows Components}}

7 : 1985 software|Software calculators|Mathematical software|Windows components|Universal Windows Platform apps|Free and open-source software|Formerly proprietary software

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/27 5:49:26