#8495: Regression: Many mathematica doctests now fail
------------------------------------------+---------------------------------
Reporter: flawrence | Owner: flawrence
Type: defect | Status: needs_work
Priority: major | Milestone: sage-4.7
Component: interfaces | Keywords:
Author: Felix Lawrence | Upstream: N/A
Reviewer: Mike Hansen, Burcin Erocal | Merged:
Work_issues: |
------------------------------------------+---------------------------------
Comment(by flawrence):
BTW, the use of `sage.calculus.calculus.symbolic_expression_from_string`
seems to limit the accuracy of results:
{{{
sage: from sage.calculus.calculus import symbolic_expression_from_string
as sefs
sage: repr(mathematica(pi/2).N(50))
'1.57079632679489661923132169163975144209858469968755'
sage: sefs('1.57079632679489661923132169163975144209858469968755')
1.57079632679
sage: sage_eval('1.57079632679489661923132169163975144209858469968755')
1.5707963267948966192313216916397514420985846996875
}}}
`sage_eval` gets it right, but Burcin noted above that using it is a
security risk. I guess my suggestion would be to stick with
`symbolic_expression_from_string` and open a ticket on improving its
accuracy. Thoughts?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8495#comment:16>
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 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.