*** This bug is a duplicate of bug 531141 ***
https://bugs.launchpad.net/bugs/531141
** Changed in: gcalctool
Status: New = Invalid
--
MOD operation returns the wrong value when using huge numbers
https://bugs.launchpad.net/bugs/394724
You received this bug notification because you
*** This bug is a duplicate of bug 531141 ***
https://bugs.launchpad.net/bugs/531141
** This bug has been marked a duplicate of bug 531141
Calculations incorrect with large numbers
--
MOD operation returns the wrong value when using huge numbers
https://bugs.launchpad.net/bugs/394724
You
I've tried the new version of gcalctool (5.28.1) and something is changed.
Now 2^1000 mod 3 returns 0, but maybe the answer is again wrong.
Indeed, (2^1000+1) mod 3 also returns 0, and it can not be possible that the
two answers are both correct.
I hope this can help.
Yan
--
MOD operation
** Summary changed:
- Mod operation calculates wrong results!
+ MOD operation returns the wrong value when using huge numbers
** Changed in: gcalctool (Ubuntu)
Status: Confirmed = Triaged
--
MOD operation returns the wrong value when using huge numbers