llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

[libc][math] implement `signbit`

Open akielaries opened this issue 1 year ago • 1 comments

This PR addresses #96322 and implements the signbit macro under a new header generic-math-macros.h. This also removed the TODO in math-macros.h and moves isfinite, isinf, and isnan to the same generic maths header. Finally, a test file generic-math-macros_test.cpp that adds coverage to the above 4 macros.

akielaries avatar Jul 05 '24 06:07 akielaries