#7240: factorization of Cunningham numbers - applications
----------------------------------+-----------------------------------------
   Reporter:  ylchapuy            |       Owner:  tbd            
       Type:  enhancement         |      Status:  positive_review
   Priority:  major               |   Milestone:  sage-4.3.2     
  Component:  algebra             |    Keywords:                 
     Author:  Yann Laigle-Chapuy  |    Upstream:  N/A            
   Reviewer:  John Cremona        |      Merged:                 
Work_issues:                      |  
----------------------------------+-----------------------------------------

Comment(by mvngu):

 After applying the attachment
 
[http://trac.sagemath.org/sage_trac/attachment/ticket/7240/trac7240_Cunningham_factorization_application.patch
 trac7240_Cunningham_factorization_application.patch], I got the following
 doctest failures on Sage 4.3.1. In all of these cases, I didn't install
 the optional Cunningham spkg at #7239
 {{{
 [mv...@sage sage-4.3.1]$ ./sage -t -long devel/sage-
 main/sage/rings/finite_field_ntl_gf2e.pyx
 sage -t -long "devel/sage-main/sage/rings/finite_field_ntl_gf2e.pyx"
 **********************************************************************
 File "/mnt/usb1/scratch/mvngu/release/sage-4.3.1/devel/sage-
 main/sage/rings/finite_field_ntl_gf2e.pyx", line 1349:
     sage: b._gap_init_()
 Expected:
     'Z(65536)^1'
 Got:
     doctest:21: UserWarning: You might consider installing the optional
 package for factoring Cunningham numbers with the following command:
 ``sage -i cunningham_tables-1.0``
     'Z(65536)^1'

 [mv...@sage sage-4.3.1]$ ./sage -t -long devel/sage-
 main/sage/rings/finite_field_element.py
 sage -t -long "devel/sage-main/sage/rings/finite_field_element.py"
 **********************************************************************
 File "/mnt/usb1/scratch/mvngu/release/sage-4.3.1/devel/sage-
 main/sage/rings/finite_field_element.py", line 375:
     sage: a.multiplicative_order()
 Expected:
     124
 Got:
     doctest:21: UserWarning: You might consider installing the optional
 package for factoring Cunningham numbers with the following command:
 ``sage -i cunningham_tables-1.0``
     124

 [mv...@sage sage-4.3.1]$ ./sage -t -long devel/sage-
 main/sage/rings/finite_field_ext_pari.py
 sage -t -long "devel/sage-main/sage/rings/finite_field_ext_pari.py"
 **********************************************************************
 File "/mnt/usb1/scratch/mvngu/release/sage-4.3.1/devel/sage-
 main/sage/rings/finite_field_ext_pari.py", line 103:
     sage: z.multiplicative_order()
 Expected:
     15
 Got:
     doctest:21: UserWarning: You might consider installing the optional
 package for factoring Cunningham numbers with the following command:
 ``sage -i cunningham_tables-1.0``
     15

 [mv...@sage sage-4.3.1]$ ./sage -t -long devel/sage-
 main/sage/rings/polynomial/polynomial_element.pyx
 sage -t -long "devel/sage-
 main/sage/rings/polynomial/polynomial_element.pyx"
 **********************************************************************
 File "/mnt/usb1/scratch/mvngu/release/sage-4.3.1/devel/sage-
 main/sage/rings/polynomial/polynomial_element.pyx", line 2860:
     sage: f.is_irreducible(), f.is_primitive()
 Expected:
     (True, False)
 Got:
     doctest:21: UserWarning: You might consider installing the optional
 package for factoring Cunningham numbers with the following command:
 ``sage -i cunningham_tables-1.0``
     (True, False)

 [mv...@sage sage-4.3.1]$ ./sage -t -long devel/sage-
 main/sage/groups/generic.py
 sage -t -long "devel/sage-main/sage/groups/generic.py"
 **********************************************************************
 File "/mnt/usb1/scratch/mvngu/release/sage-4.3.1/devel/sage-
 main/sage/groups/generic.py", line 774:
     sage: discrete_log(u,g)
 Expected:
     123456789
 Got:
     doctest:21: UserWarning: You might consider installing the optional
 package for factoring Cunningham numbers with the following command:
 ``sage -i cunningham_tables-1.0``
     123456789
 }}}

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