#18888: failing optional mathematica tests, due to bugs in N() and n()
-------------------------------------+-------------------------------------
Reporter: slabbe | Owner:
Type: defect | Status: needs_work
Priority: major | Milestone: sage-7.1
Component: interfaces: | Resolution:
optional | Merged in:
Keywords: mathematica | Reviewers:
Authors: | Work issues: fix `N()`
Report Upstream: N/A | Commit:
Branch: public/18888 | 4fd09adee1cffa4fb7922862d20d2587f7837362
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by dimpase):
And here is a (hilarious) trace of the communications with M-ca, upon
calling `mathematica('Pi').n()`.
{{{
Mathematica 9.0 for Linux x86 (64-bit)
Copyright 1988-2013 Wolfram Research, Inc.
In[1]:= sage0=Pi;
In[2]:= sage1=0;
In[3]:= sage2=gen[sage1];
In[4]:= sage1=prec[sage0];
In[5]:= sage3=1;
In[6]:= sage3=10;
In[7]:= sage3 < sage1
Out[7]= 10 < prec[Pi]
In[8]:= sage3 > sage1
Out[8]= 10 > prec[Pi]
In[9]:= sage3 == sage1
Out[9]= 10 == prec[Pi]
In[10]:= sage3=1.0000;
In[11]:= sage0
Out[11]= Pi
In[12]:= sage3=1.0000*I;
In[13]:= InputForm[sage0, NumberMarks->False]
Out[13]//InputForm= Pi
In[14]:=
}}}
certainly, M-ca does not know `gen` or `prec`, and thus the comparisons
like
{{{
In[7]:= sage3 < sage1
Out[7]= 10 < prec[Pi]
}}}
fail miserably. Could anyone advice me on how to get the Sage part of the
trace?
I have no clue where these `gen` and `prec` come from.
--
Ticket URL: <http://trac.sagemath.org/ticket/18888#comment:22>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.