[libc-commits] [libc] [libc][math] implement `signbit` (PR #97791)

via libc-commits libc-commits at lists.llvm.org
Sat Jul 6 07:42:19 PDT 2024


================
@@ -79,3 +79,13 @@ add_libc_test(
   DEPENDS
     libc.include.llvm-libc-macros.stdckdint_macros
 )
+
+add_libc_test(
----------------
lntue wrote:

In addition to the C++ test to make sure that the implementation is correct, also add a light-weight C test similar to https://github.com/llvm/llvm-project/blob/main/libc/test/include/CMakeLists.txt#L49 to make sure that the macro definitions work in C.

https://github.com/llvm/llvm-project/pull/97791


More information about the libc-commits mailing list