#788: [with patch; needs review] fix "random low order bits" doctests to use
"..."
---------------------+------------------------------------------------------
Reporter: was | Owner: anakha
Type: defect | Status: new
Priority: major | Milestone: sage-3.2
Component: doctest | Resolution:
Keywords: |
---------------------+------------------------------------------------------
Comment (by ddrake):
Replying to [comment:3 ddrake]:
I applied the patches on an Intel Core 2 Duo OS X machine (10.5) and got
the same failure in polynomial_element:
{{{
File "/Applications/sage/tmp/polynomial_element.py", line 1947:
sage: f.factor()
Expected:
(1.0*x - 1.00000... + 1.0000...*I) * (1.0*x - 1.00000... +
0.999989...*I) * (1.0*x - 0.9999... + 1.00000...*I) * (1.0*x + 0.99999...
- 1.00000...*I) * (1.0*x + 0.999996... - 0.99998...*I) * (1.0*x +
1.00001... - 1.00000...*I)
Got:
(1.0*x - 1.00001180498 + 0.999999639235*I) * (1.0*x - 0.999994409957 +
1.00001040378*I) * (1.0*x - 0.999993785062 + 0.999989956987*I) * (1.0*x +
0.999991652054 - 1.00000998012*I) * (1.0*x + 0.999995530902 -
0.999987780431*I) * (1.0*x + 1.00001281704 - 1.00000223945*I)
**********************************************************************
}}}
(There were other failures as well, but (1) the new files were compiled
with gcc 4.01, a known buggy compiler, and (2) the first patch didn't
apply cleanly against 3.1.2, so until we hear otherwise, we should perhaps
blame me and my laptop and not the doctests.)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/788#comment:4>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---