Skip to content

float classification routines can now be constant folded in C #592

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ZERICO2005
Copy link
Contributor

@ZERICO2005 ZERICO2005 commented Apr 21, 2025

float classification routines can now be evaluated at compile time in C using __builtin_constant_p. If a function call is emitted in the auto-test code (hence not constant folded), it will conflict with some functions I've defined in test.asm. This will cause linker error resulting in the auto-test failing.

I also fixed math_test.cpp and constexpr addressof

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant