We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The current behavior of mod on Sage rationals is currently useless
mod
sage: (2/3).mod(5) 0 sage: (2/3).mod(6) 0
And very different from what mod_ui does
mod_ui
sage: (2/3).mod_ui(5) 4 sage: (2/3).mod_ui(6) Traceback (most recent call last): ... ArithmeticError: The inverse of 3 modulo 6 is not defined.
This ticket stands for:
This change will make Sage compatible with PARI/GP Mod and maple mod.
Mod
Component: basic arithmetic
Issue created by migration from https://trac.sagemath.org/ticket/21748
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The current behavior of
mod
on Sage rationals is currently uselessAnd very different from what
mod_ui
doesThis ticket stands for:
mod
on rationals to be consistent to the currentmod_ui
(and handle the potential overflow inmod_ui
)mod_ui
in favor ofmod
This change will make Sage compatible with PARI/GP
Mod
and maplemod
.Component: basic arithmetic
Issue created by migration from https://trac.sagemath.org/ticket/21748
The text was updated successfully, but these errors were encountered: