#10873: Bug in integer_mod powering non-invertible base and negative exponents
--------------------------------+-------------------------------------------
Reporter: robertwb | Owner: AlexGhitza
Type: defect | Status: needs_work
Priority: major | Milestone: sage-4.7.1
Component: basic arithmetic | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
--------------------------------+-------------------------------------------
Changes (by mariah):
* status: needs_review => needs_work
Comment:
patch [attachment:10873-mod-pow-rebased.patch] applied to
sage-4.7.1.alpha1, then did 'make testlong'. Got the following error:
{{{
sage -t -long -force_lib
"devel/sage/sage/rings/finite_rings/integer_mod.pyx"
ESC[?1034h**********************************************************************
File "/home/mariah/sage/sage-4.7.1.alpha1-x86_64-Linux-core2-fc-
review-10873/devel/sage/sage/rings/finite_rings/integer_mod.pyx", iled
example:
sig_on_count()
Expected:
0
Got:
1
**********************************************************************
File "/home/mariah/sage/sage-4.7.1.alpha1-x86_64-Linux-core2-fc-
review-10873/devel/sage/sage/rings/finite_rings/integer_mod.pyx", iled
example:
sig_on_count()
Expected:
0
Got:
1
**********************************************************************
File "/home/mariah/sage/sage-4.7.1.alpha1-x86_64-Linux-core2-fc-
review-10873/devel/sage/sage/rings/finite_rings/integer_mod.pyx", iled
example:
sig_on_count()
Expected:
0
Got:
1
**********************************************************************
}}}
etc.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10873#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
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-trac?hl=en.