#18888: failing optional mathematica tests
-------------------------------------+-------------------------------------
       Reporter:  slabbe             |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-7.1
      Component:  interfaces:        |   Resolution:
  optional                           |    Merged in:
       Keywords:  mathematica        |    Reviewers:
        Authors:                     |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:  public/18888       |  4fd09adee1cffa4fb7922862d20d2587f7837362
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by dimpase):

 Replying to [comment:15 mkoeppe]:
 > With Mathematica 10.3.1 for Mac OS X x86 (64-bit),
 > various test failures related to number of displayed digits.
 > See log attached.

 Matthias, it seems that in your setup N() and n() methods of Mathematica
 objects are mixed up. For me on Linux, with 64-bit Mathematica 9,  I have
 {{{
 sage: t=mathematica('Pi')
 sage: t.n?
 Docstring:
    Return a numerical approximation of x with at least prec bits of
    precision.

    EXAMPLES:
 [...]
 Init docstring: x.__init__(...) initializes x; see help(type(x)) for
 signature
 File:
 /home/scratch/dimpase/sage/sage/src/sage/structure/element.pyx
 Type:           builtin_function_or_method
 sage: t.N?
 Signature:      t.N(*args)
 Docstring:
    EXAMPLES:
 [...]
 Init docstring: x.__init__(...) initializes x; see help(type(x)) for
 signature
 File:           /home/scratch/dimpase/sage/sage/local/lib/python2.7/site-
 packages/sage/interfaces/mathematica.py
 Type:           instancemethod
 sage: t.n(20)
 3.1416
 sage: t.N(20)
 3.141592653589793238462643383279502884197169399375105820975
 }}}

 What is the output of these (in particular, two last) commands for you?

--
Ticket URL: <http://trac.sagemath.org/ticket/18888#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 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.

Reply via email to