Skip to content
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

Polynomials over RealIntervalAbsoluteField are broken #38670

Open
2 tasks done
maxale opened this issue Sep 18, 2024 · 2 comments
Open
2 tasks done

Polynomials over RealIntervalAbsoluteField are broken #38670

maxale opened this issue Sep 18, 2024 · 2 comments
Labels

Comments

@maxale
Copy link
Contributor

maxale commented Sep 18, 2024

Steps To Reproduce

No response

Expected Behavior

RealIntervalAbsoluteField looks like a valid class for building polynomials on top of it.

Actual Behavior

However, an error appears as soon as an element of RealIntervalAbsoluteField is multiplied by the polynomial variable:

from sage.rings.real_interval_absolute import RealIntervalAbsoluteField
K = RealIntervalAbsoluteField(50)
Q.<x> = K[]
sage: x + K((2,3))
x + 3.?
sage: K((4,5))*x + K((2,3))
...skipped...
AttributeError: 'PolynomialRing_field_with_category.element_class' object has no attribute 'floor'

Additional Information

No response

Environment

  • OS: Ubuntu 24.04.1 LTS
  • Sage Version: 10.5.beta3

Checklist

  • I have searched the existing issues for a bug report that matches the one I want to file, without success.
  • I have read the documentation and troubleshoot guide
@maxale maxale added the t: bug label Sep 18, 2024
@fchapoton
Copy link
Contributor

fchapoton commented Sep 18, 2024

Amusingly, this works in the other sense:

sage: x*K((4,3))
4.?*x

@fchapoton
Copy link
Contributor

This is questionable:


sage: x.parent().is_exact()
True

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants