#19063: Coercions and basic arithmetic for complex balls
-------------------------------------+-------------------------------------
       Reporter:  mmezzarobba        |        Owner:
           Type:  enhancement        |       Status:  positive_review
       Priority:  major              |    Milestone:  sage-6.9
      Component:  numerical          |   Resolution:
       Keywords:  arb                |    Merged in:
        Authors:  Marc Mezzarobba,   |    Reviewers:  Clemens Heuberger,
  Clemens Heuberger                  |  Marc Mezzarobba
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/mmezzarob/19063-acb              |     Stopgaps:
   Dependencies:  #18546             |
-------------------------------------+-------------------------------------

Comment (by jdemeyer):

 Replying to [comment:27 mmezzarobba]:
 > Replying to [comment:26 jdemeyer]:
 > > Or perhaps `above_abs` is not exactly the same as `magnitude` since
 the latter returns a real number instead of a ball. Still, it would be
 nice to implement `magnitude` like `RIF`.
 >
 > Yes.
 >
 > Regarding `center()`, I'd prefer to keep the name `mid()`, if only to
 emphazise that the midpoint is part of the defining data of the ball (and
 thus always is exact, while `mpfi_mid()` involves a rounding), but I have
 nothing against adding `center()` as an alias.

 For most practical purposes, the rounding or not is just an implementation
 detail. Personally, I would prefer to use just one method name (for
 example, I don't like that some types implement `prec()` and some
 implement `precision()` but not all implement both: that's just
 confusing). Given that `center()` has been around for a while, I would
 prefer to use `center()` (and only that) also for arb.

--
Ticket URL: <http://trac.sagemath.org/ticket/19063#comment:30>
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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to