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

RealLazyField() and ComplexLazyField() are inexact rings #22960

Open
sagetrac-tmonteil mannequin opened this issue May 8, 2017 · 1 comment
Open

RealLazyField() and ComplexLazyField() are inexact rings #22960

sagetrac-tmonteil mannequin opened this issue May 8, 2017 · 1 comment

Comments

@sagetrac-tmonteil
Copy link
Mannequin

sagetrac-tmonteil mannequin commented May 8, 2017

RealLazyField() and ComplexLazyField() claim to be exact, but they are not:

sage: RLF.is_exact()
True
sage: a = RLF(0.1) ; a
0.10000000000000001?
sage: a._value
0.100000000000000
sage: a._value.parent()
Real Field with 53 bits of precision

Component: numerical

Author: Thierry Monteil

Issue created by migration from https://trac.sagemath.org/ticket/22960

@sagetrac-tmonteil sagetrac-tmonteil mannequin added this to the sage-8.0 milestone May 8, 2017
@sagetrac-tmonteil
Copy link
Mannequin Author

sagetrac-tmonteil mannequin commented May 8, 2017

comment:1

Note that the doc of RLF itself claims to be exact.

    This class represents the set of real numbers to unspecified precision.
    For the most part it simply wraps exact elements and defers evaluation
    until a specified precision is requested.

@mkoeppe mkoeppe removed this from the sage-8.0 milestone Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant