#7557: conversion of complex numbers in symbolic expressions to maxima broken
---------------------------------+------------------------------------------
Reporter: burcin | Owner: burcin
Type: defect | Status: needs_review
Priority: major | Milestone: sage-5.6
Component: symbolics | Resolution:
Keywords: interfaces | Work issues:
Report Upstream: N/A | Reviewers: Volker Braun, Karl-Dieter
Crisman
Authors: Burcin Erocal | Merged in:
Dependencies: | Stopgaps:
---------------------------------+------------------------------------------
Comment (by kcrisman):
Here's the relevant part from the tmp file.
{{{
TESTS:
Check if complex numbers in the arguments are converted to maxima
correctly :trac:`7557`::
>>> t =
jacobi('sn',RealNumber('1.2')+Integer(2)*I*elliptic_kc(Integer(1)-RealNumber('.5')),RealNumber('.5'))###line
480:_sage_ >>> t = jacobi($
>>> t._maxima_init_(maxima)###line 481:_sage_ >>>
t._maxima_init_(maxima)
'0.88771548861927...*%i'
>>> res = Exception
>>> res = t.n() # abs tol 1e-13###line 483:_sage_ >>> t.n() # abs tol
1e-13
>>> check_with_tolerance('''
... 0.887715488619280 - 1.79195288804672e-15*I
... """
... ''', res, 1e-13, 'ab
>>> sig_on_count()
0
"""
}}}
So this might be something that only works with a working abs tol, which I
may not yet have - is this based on beta3 or beta2? I haven't compiled
beta3 yet since I can't upgrade it ;-)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7557#comment:17>
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.