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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1784274

Title:
  Wrong exponential notation used in programming mode

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-calculator/+bug/1784274/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to