#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()` and `n()`
Report Upstream:  N/A                |       Commit:
         Branch:  public/18888       |  4fd09adee1cffa4fb7922862d20d2587f7837362
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by dimpase):

 OK, we don't need to implement `n()` here, only `N()`. As far as `n()`
 goes, part of trouble comes from Sage being unable to do `n()` of
 constants in the `SR` (symbolic ring) properly. E.g.
 {{{
 sage: pi.n(10)
 3.1
 }}}
 We can also implement `n()` as `sage().n()`, not sure if we should. E.g.
 `gap(2/3).n()` is not implemented. Perhaps explicitly making it throw
 `NotImplementedError` is the best?

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