| GNOME Calculator | |
|---|---|
GNOME Calculator 47 | |
| Stable release | |
| Written in | C,Vala |
| Operating system | Unix-like |
| Type | Software calculator |
| License | GPL-3.0-or-later |
| Website | apps |
| Repository | |
GNOME Calculator, formerly known asgcalctool, is thesoftware calculator integrated with theGNOME desktop environment. It is programmed inC andVala and part of theGNOME Core Applications.
GNOME Calculator uses theMPFR library for extended precision arithmetic. It can support complex number arithmetic, perform factorization of integers, and define new functions by composition.
While most functionality can be accessed by typing the function name into the input, Calculator provides different views for convenience.
The GNOME calculator uses the commoninfix notation forbinary functions, such as the four basic arithmetic operations. Unlike many other calculators, it usesprefix notation, notpostfix notation forunary functions. So to calculate e.g. thesine ofone, the user must push the keyssin+1+=, not1+sin, as on many other calculators.
The decimal separator on thenumber pad is based on the general keyboard layout since version 3.12.3.[2]Due to different styles of formatting decimal positions across the world, Calculator interprets both commas and periods as decimal separators. Consequently, using k-ary functions requires using a semicolon to separate the arguments.