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
Picky floats #43289
Comments
I came across a bug at work yesterday where I had if not delta:
return 0.0 where delta was a floating point number. After a if abs(delta) < EPSILON:
return 0.0 for a suitable value of EPSILON. That got me to thinking... I'm sure I have plenty of |
Logged In: YES FYI, regarding my original note and the attached patch, |
Logged In: YES I don't think it should be configure-time option. If OTOH, I doubt that it is very useful in practice. How many |
Logged In: YES Yeah, I don't think configure-time selection is the ultimate choice either. I just ran "make test" which runs everything twice. Looking at the output I'm not surprised there's not a lot of problem in the standard library I'm less interested in finding specific bugs at this point though. I'm (BTW, off-list I got a somewhat related report of lots of float comparison Skip |
Logged In: YES The problem with looking "at some more floating |
Since there were some objections to the patch, and apparently no progress in addressing these objections, I'm now rejecting the patch (on its first birthday). |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: