#14098: zn_poly-0.9.p9 fails at least one its tests on power7
---------------------------+------------------------------------------------
       Reporter:  fbissey  |         Owner:  drkirkby
           Type:  defect   |        Status:  new     
       Priority:  major    |     Milestone:  sage-5.7
      Component:  porting  |    Resolution:          
       Keywords:           |   Work issues:          
Report Upstream:  N/A      |     Reviewers:          
        Authors:           |     Merged in:          
   Dependencies:           |      Stopgaps:          
---------------------------+------------------------------------------------

Comment (by fbissey):

 To continue on what you started Paul in
 {{{
 testcase_mpn_smp_kara (n=6624085371224828549)
 }}}
 n is supposed to be a size_t so I think we have a gross overflow somewhere
 earlier. The value originates from here:
 {{{
 /*
    Tests mpn_smp_kara for a range of n.
 */
 int
 test_mpn_smp_kara (int quick)
 {
    int success = 1;
    size_t n;
    ulong trial;

    // first a dense range of small problems
    for (n = 2; n <= 30 && success; n++)
    for (trial = 0; trial < (quick ? 300 : 30000) && success; trial++)
       success = success && testcase_mpn_smp_kara (n);

    // now a few larger problems too
    for (trial = 0; trial < (quick ? 100 : 3000) && success; trial++)
    {
       n = random_ulong (3 * ZNP_mpn_smp_kara_thresh) + 2;      <======= n
 generated here.
       success = success && testcase_mpn_smp_kara (n);
    }

    return success;
 }
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14098#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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to