We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A minimal example:
from sympy import sin, cos, re, im, Float n = sin(1)**2 + cos(1)**2 - 1 w=n.n(2) print(f'w: {repr(w)}: type {type(w)} mpf {w._mpf_}') w2=Float((1, 1, -365, 1)) print(f'w2: {(w2)}: type {type(w2)} mpf {w2._mpf_}') print(f'equal? {w==w2}')
If the representations of w and w2 differ, the result of w==w2 should not be True
w
w2
w==w2
True
Found when analysing #23565
@oscarbenjamin
The text was updated successfully, but these errors were encountered:
See #20033
Sorry, something went wrong.
No branches or pull requests
A minimal example:
If the representations of
w
andw2
differ, the result ofw==w2
should not beTrue
Found when analysing #23565
@oscarbenjamin
The text was updated successfully, but these errors were encountered: