On Mar 2, 5:05 pm, achrzesz <[email protected]> wrote: > I'm not sure if this is relevant but > sage: power_mod(2,-1,990) > also gives helpful error message > and checking for exponent -1 is not necessary > A Ch
Relevant, but of course what I'm really getting at is exactly how to deal with a user who does the original thing (mod(2,990)^-1 ) and is not immediately sure what went wrong because of the lack of error message content. Particularly if it is in the middle of some long script where they forgot to check a gcd condition, for instance. For me personally it is not that big a deal :) Any thoughts by those who've worked in integer_mod.pyx? - kcrisman -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
