#10836: primitive root is broken
------------------------------------------------------------------+---------
   Reporter:  kcrisman                                            |       
Owner:  was                                           
       Type:  defect                                              |      
Status:  positive_review                               
   Priority:  critical                                            |   
Milestone:  sage-4.7                                      
  Component:  number theory                                       |    
Keywords:                                                
     Author:  Karl-Dieter Crisman, William Stein, Jeroen Demeyer  |    
Upstream:  Reported upstream. Developers deny it's a bug.
   Reviewer:  William Stein, Karl-Dieter Crisman, Jeroen Demeyer  |      
Merged:                                                
Work_issues:                                                      |  
------------------------------------------------------------------+---------

Comment(by jdemeyer):

 Replying to [comment:27 kcrisman]:
 > That means we should, in theory, fix
 Actually, I think both of these statements are 100% correct in the patch.

 > "`k` is a nonnegative number."
 Here, we are talking about exponents which are allowed to be zero, so this
 is correct.

 > "assumed to be a positive integer possessing a primitive root"
 This is also correct because PARI's behaviour for negative arguments to
 `znprimroot()` is undocumented, so we cannot rely on it (in practice, it
 does work though).

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10836#comment:28>
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.

Reply via email to