[libc-commits] [libc] [libc][math][c23] Add fmodf16 C23 math function (PR #94629)

via libc-commits libc-commits at lists.llvm.org
Fri Jun 7 14:43:36 PDT 2024


================
@@ -117,6 +127,15 @@ template <typename T> class BinaryOpSingleOutputPerf {
 #define BINARY_OP_SINGLE_OUTPUT_PERF(T, myFunc, otherFunc, filename)           \
   int main() {                                                                 \
     LIBC_NAMESPACE::testing::BinaryOpSingleOutputPerf<T>::run_perf(            \
-        &myFunc, &otherFunc, filename);                                        \
+        &myFunc, &otherFunc, 1, filename);                                     \
     return 0;                                                                  \
   }
+
+#define BINARY_OP_SINGLE_OUTPUT_PERF_EX(T, myFunc, otherFunc, rounds,          \
----------------
overmighty wrote:

I couldn't think of a better name for the macro.

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


More information about the libc-commits mailing list