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 sinh's sign handling #224

Merged
merged 2 commits into from
Dec 1, 2020
Merged

Fix sinh's sign handling #224

merged 2 commits into from
Dec 1, 2020

Conversation

sunfishcode
Copy link
Member

In the musl 1.2.1 update, I made a change to disable the new code in
sinh for handling directed rounding modes, but I only incompletely
disabled it. This led to sinh(-inf) computing inf instead of -inf,
detected in wasi-libc-test. This patch fixes it.

In the musl 1.2.1 update, I made a change to disable the new code in
sinh for handling directed rounding modes, but I only incompletely
disabled it. This led to `sinh(-inf)` computing `inf` instead of `-inf`,
detected in [wasi-libc-test]. This patch fixes it.

[wasi-libc-test]: https://github.com/CraneStation/wasi-libc-test/tree/master/libc-test
@sunfishcode sunfishcode requested a review from pchickey November 30, 2020 21:28
@pchickey
Copy link
Collaborator

ci fixes for the weird failure on this branch is in #225

@sunfishcode
Copy link
Member Author

Great, thanks!

@sunfishcode sunfishcode merged commit 378fd4b into master Dec 1, 2020
@sunfishcode sunfishcode deleted the sunfishcode/fix-sinh branch December 1, 2020 00:12
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.

2 participants