#4111: [with patch, positive review] move basic types to new coercion model
----------------------+-----------------------------------------------------
Reporter: robertwb | Owner: robertwb
Type: defect | Status: new
Priority: major | Milestone: sage-3.1.3
Component: coercion | Resolution:
Keywords: |
----------------------+-----------------------------------------------------
Comment (by mabshoff):
Robert,
I merged the four patches and the only issue is the following:
{{{
sage -t -long devel/sage/sage/rings/real_mpfr.pyx
**********************************************************************
File "/scratch/mabshoff/release-cycle/sage-3.1.3.alpha2/tmp/real_mpfr.py",
line 1900:
sage: RR(-1.234567)._pari_()
Expected:
-1.2345670000000000000
Got:
-1.2345670000000000001
**********************************************************************
1 items had failures:
1 of 11 in __main__.example_58
***Test Failed*** 1 failures.
For whitespace errors, see the file /scratch/mabshoff/release-
cycle/sage-3.1.3.alpha2/tmp/.doctest_real_mpfr.py
[10.8 s]
}}}
I don't changing the doctest is the solution here since the "Real Number
Inputs Improved" patch from 3.1.2 was supposed to fix this. Or am I
completely wrong here? Either way: feel free to add a patch here or in
case it is something more than non-trivial open another ticket.
Cheers,
Michael
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4111#comment:9>
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
-~----------~----~----~----~------~----~------~--~---