#5010: [with patch, needs review] Solaris 10: rings/real_double.pyx doctests
failure: nan vs. NaN
----------------------+-----------------------------------------------------
Reporter: mabshoff | Owner: mabshoff
Type: defect | Status: new
Priority: major | Milestone: sage-3.3
Component: solaris | Keywords:
----------------------+-----------------------------------------------------
We are seeing the following doctest failure:
{{{
**********************************************************************
File "/home/mabshoff/build-3.2.3.final/sage-3.2.3.final-
fulvia/devel/sage/sage/rings/real_double.pyx", line 1311:
sage: RDF(0).log()
Expected:
-inf
Got:
-Infinity
**********************************************************************
File "/home/mabshoff/build-3.2.3.final/sage-3.2.3.final-
fulvia/devel/sage/sage/rings/real_double.pyx", line 1313:
sage: RDF(-1).log()
Expected:
nan
Got:
-NaN
}}}
This is because we are using the C library instead of RDF to create inf
and nan.
Note that this is a different issue than #672.
Cheers,
Michael
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5010>
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
-~----------~----~----~----~------~----~------~--~---