Mod(1/3,5)=2 in CAS

Matteskolan shared this question 3 years ago
Needs Answer

Hi!

Modulus is defined for integers, but interpreting "1/3" as the multiplicative inverse to 3 would indeed give the answer 2, since 2*3=1 mod(5). This is all fine and dandy. It works in CAS in the online version. But here is the thing:

It worked in GGB 5 desktop like two hours ago. And now it doesn't! Help! Did someone fix a "bug" that wasn't actually a bug? Help! Bring it back! Please! It was so neat...


Anders Karlsson

Comments (4)

photo
1

GGB 5 desktop

photo
1

Here is the pic of GGB 5 desktop result of the same command

photo
1

In 5.0.414.0 for Windows it seems to be working as in your pic...

Which version and OS have you in your computer?

photo
1

MacOS 10.13.2

GGB version 5.0.389.0-d

photo
© 2021 International GeoGebra Institute