Skip to content

libm-test: Fix unintentional skips in binop_common #941

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

Merged
merged 1 commit into from
Jun 2, 2025

Conversation

tgross35
Copy link
Contributor

@tgross35 tgross35 commented Jun 2, 2025

binop_common emits a SKIP that is intended to apply only to copysign, but is instead applying to all binary operators. Correct the general case but leave the currently-failing maximum_num tests as a FIXME, to be resolved separately in 1.

Also simplify skip logic and NaN checking, and add a few more copysign checks.

`binop_common` emits a `SKIP` that is intended to apply only to
`copysign`, but is instead applying to all binary operators. Correct the
general case but leave the currently-failing `maximum_num` tests as a
FIXME, to be resolved separately in [1].

Also simplify skip logic and NaN checking, and add a few more `copysign`
checks.

[1]: rust-lang#939
@tgross35 tgross35 merged commit da8433d into rust-lang:master Jun 2, 2025
35 checks passed
@tgross35 tgross35 deleted the fix-binop-tests branch June 2, 2025 23:55
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