[libc-commits] [libc] [libc][math][c23] add entrypoints and tests for totalordermag{f, l, f128} (PR #100159)

via libc-commits libc-commits at lists.llvm.org
Wed Jul 24 13:40:09 PDT 2024


================
@@ -3655,6 +3655,54 @@ add_fp_unittest(
     libc.src.math.totalordermagf16
 )
 
+add_fp_unittest(
+  totalordermag_test
+  SUITE
+    libc-math-smoke-tests
+  SRCS
+    totalordermag_test.cpp
+  HDRS
+    TotalOrderMagTest.h
+  DEPENDS
+    libc.src.math.totalordermag
+)
----------------
overmighty wrote:

Nit: the order should be `totalordermag`, `totalordermagf`, `totalordermagl`, `totalordermagf16`, `totalordermagf128` here as well.

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


More information about the libc-commits mailing list