#19822: Fast polynomial evaluation fmpz_poly/ZZX with mpfr/mpfi input
-------------------------------------+-------------------------------------
Reporter: vdelecroix | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-7.0
Component: algebra | Resolution:
Keywords: | Merged in:
Authors: Vincent Delecroix | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/vdelecroix/19822 | ad0721694614fe3546cdace8b3ec27e415539b74
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by jdemeyer):
Replying to [comment:6 vdelecroix]:
> For 2. I just forward the rounding mode to the mpfr functions.
I know that but it doesn't make sense to do that!
What would be the point of doing every single operation with `MPFR_RNDU`?
That doesn't guarantee anything about the rounding of the result (if I
take a number obtained with `MPFR_RNDU` and multiply it with -1, it
effectively becomes rounded with `MPFR_RNDD`). Since polynomials use a
mixture of additions and multiplications, it becomes difficult to avoid
this problem.
--
Ticket URL: <http://trac.sagemath.org/ticket/19822#comment:10>
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.