modulo arithmetic on large numbers gives incorrect results

Create issue
Issue #954 duplicate
Former user created an issue

If you do 3^170 (mod 257), SpeedCrunch 0.12 (Qt 5.9.2) on Ubuntu 18.04.3 LTS gives 50 but it should give 49 (Wolfram Alpha).

Comments (5)

  1. Helder Correia repo owner
    • changed status to open

    My bad, I misread the supposed results. SpeedCrunch yields 50 instead of correct result 49.

  2. Log in to comment