Public bug reported:
In programming mode the calculator is primarily used for doing integer
operations.
However integer results are shown in exponential notation and the result
does NOT represent the correct integer!
Example:
- Calculate 2^40.
- The result 1.099511628×10^12 is shown which is the integer 1099511628000
- However the correct result is 1099511627776, not 1099511628000
A possible change which might solve this:
Change the selection:
- Binary
- Octal
- Decimal
- Hexadecimal
To:
- Binary
- Octal
- Scientific decimal
- Programmer decimal
- Hexadecimal
"Scientific decimal" would behave like it does today.
"Programmer decimal" would behave the same way as Binary, Octal and Hexadecimal
and display integers like 2^40 as 1099511627776, not as 1.099511628x10^12
** Affects: gnome-calculator (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-calculator in Ubuntu.
https://bugs.launchpad.net/bugs/1784274
Title:
Wrong exponential notation used in programming mode
Status in gnome-calculator package in Ubuntu:
New
Bug description:
In programming mode the calculator is primarily used for doing integer
operations.
However integer results are shown in exponential notation and the
result does NOT represent the correct integer!
Example:
- Calculate 2^40.
- The result 1.099511628×10^12 is shown which is the integer 1099511628000
- However the correct result is 1099511627776, not 1099511628000
A possible change which might solve this:
Change the selection:
- Binary
- Octal
- Decimal
- Hexadecimal
To:
- Binary
- Octal
- Scientific decimal
- Programmer decimal
- Hexadecimal
"Scientific decimal" would behave like it does today.
"Programmer decimal" would behave the same way as Binary, Octal and
Hexadecimal and display integers like 2^40 as 1099511627776, not as
1.099511628x10^12
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-calculator/+bug/1784274/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp