New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
faster conversions from number field to interval field #23447
Comments
This comment has been minimized.
This comment has been minimized.
Commit: |
Author: Vincent Delecroix |
Branch: u/vdelecroix/23447 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:5
doctest failures...
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The conversion of number field elements to real interval field is slow (that was actually the main reason for the slowness constated in #23388). We implement a function
cdef void nf_elem_get_mpfi(mpfi_t x, NumberFieldElement a, mp_prec_t prec)
that provides an interval approximation of a number field element. We then refactorize the methodsfloor()
and_richcmp_()
and provide a straightforward implementation of_real_mpfi_()
.This improves the overall performance of any method of number field element using approximation.
Depends on #23402
Component: number fields
Author: Vincent Delecroix
Branch/Commit: u/vdelecroix/23447 @
4a40fbe
Issue created by migration from https://trac.sagemath.org/ticket/23447
The text was updated successfully, but these errors were encountered: