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

Fix a bug in abs_diff #366

Merged
merged 1 commit into from
Dec 22, 2024
Merged

Fix a bug in abs_diff #366

merged 1 commit into from
Dec 22, 2024

Conversation

tgross35
Copy link
Contributor

These were taken from compiler-builtins but the implementation has a bug near the integer limits. Fixed in compiler-builtins by using core's implementation at 1, this is the corresponding fix for libm.

These were taken from `compiler-builtins` but the implementation has a
bug near the integer limits. Fixed in `compiler-builtins` by using
`core`'s implementation at [1], this is the corresponding fix for
`libm`.

[1]: rust-lang/compiler-builtins#736
@tgross35 tgross35 enabled auto-merge December 22, 2024 22:29
@tgross35 tgross35 merged commit 145dbc4 into rust-lang:master Dec 22, 2024
30 checks passed
@tgross35 tgross35 deleted the fix-abs-diff branch December 22, 2024 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant