Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

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
tgross35 added a commit that referenced this pull request Apr 18, 2025
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant