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

Wrong result of copysign(NAN, -2.0) == -NAN); #3458

Open
anton-bondarev opened this issue Oct 16, 2024 · 0 comments
Open

Wrong result of copysign(NAN, -2.0) == -NAN); #3458

anton-bondarev opened this issue Oct 16, 2024 · 0 comments

Comments

@anton-bondarev
Copy link
Collaborator

Currently the test in https://github.com/embox/embox/blob/master/src/compat/libc/math/tests/copysign_test.c doesn't pass

#if 0
TEST_CASE("Test for copysign(NAN, -2.0)") {
	test_assert(copysign(NAN, -2.0) == -NAN);
}
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant