#17350: Singular value nonsensical doctests fail on 32-bit
----------------------------------+------------------------
       Reporter:  vbraun          |        Owner:
           Type:  defect          |       Status:  new
       Priority:  major           |    Milestone:  sage-6.5
      Component:  linear algebra  |   Resolution:
       Keywords:                  |    Merged in:
        Authors:                  |    Reviewers:
Report Upstream:  N/A             |  Work issues:
         Branch:                  |       Commit:
   Dependencies:                  |     Stopgaps:
----------------------------------+------------------------
Changes (by vbraun):

 * component:  PLEASE CHANGE => linear algebra
 * type:  PLEASE CHANGE => defect


Old description:



New description:

 Why do we test a lower bound for the fourth and fifth singular value?
 Predictably breaks on some platforms.
 {{{
             sage: A = matrix(CDF, [[46*I - 28, -47*I - 50, 21*I + 51,
 -62*I - 782, 13*I + 22],
             ....:                  [35*I - 20, -32*I - 46, 18*I + 43,
 -57*I - 670, 7*I + 3],
             ....:                  [22*I - 13, -23*I - 23, 9*I + 24, -26*I
 - 347, 7*I + 13],
             ....:                  [-44*I + 23, 41*I + 57, -19*I - 54,
 60*I + 757, -11*I - 9],
             ....:                  [30*I - 18, -30*I - 34, 14*I + 34,
 -42*I - 522, 8*I + 12]])
             sage: sv = A.singular_values()
             sage: sv[0:3]  # tol 1e-14
             [1440.7336659952966, 18.404403413369227, 6.839707797136151]
             sage: (10^-15 < sv[3] < 10^-13) or sv[3]
             True
             sage: (10^-16 < sv[4] < 10^-14) or sv[4]
             True
 }}}

--

--
Ticket URL: <http://trac.sagemath.org/ticket/17350#comment:1>
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to