Incorrect result for certain modular operations
Issue #810
duplicate
I tried mod((59^50); 51) first. The result from speed crunch is 45, while other sources like wolfram show that it should be 13.
After further attempts with other values, it seems that results of all mod( a^( a - mod(a; 10) ; b ) calculations are incorrect.
I am running SpeedCrunch on Windows10 Professional, version 1709. Currently I do not know if this issue occurs on other platforms.
Comments (2)
-
-
- changed status to duplicate
Duplicate of #295.
- Log in to comment
This happens because SpeedCrunch only supports 50 digits of precision. Settings>Result Format>Precision. Because SpeedCrunch is a numeric approximation calculator rather than a symbolic calculator, a partial fix could be made by allowing the user to set arbitrary precision, but one would need to remember to have the precision large enough to not have rounding errors.