equality of t_INTMODs
Max Alekseyev <[email protected]>
| Newsgroups | gmane.comp.mathematics.pari.user |
|---|---|
| Message-ID | <CAJkPp5PbrmnyofhFsap0BBg5V+TD=17=KDf03BJOYnMBbvANyQ@mail.gmail.com> |
Hello, In view of a recently discovered issue in Sage ( https://github.com/sagemath/sage/issues/39372), I'd like to check how the following two (in)equalities co-exist in PARI/GP. Do they violate any design conventions and/or represent a notable exception to those? ? Mod(14,20) == Mod(39,55) %1 = 0 ? Mod(14,20) - Mod(39,55) == 0 %2 = 1 Regards, Max