[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
================
@@ -25,21 +26,28 @@ template <typename T> class BinaryOpSingleOutputPerf {
static void run_perf_in_range(Func myFunc, Func otherFunc,
StorageType startingBit, StorageType endingBit,
- StorageType N, std::ofstream &log) {
+ size_t N, size_t rounds, std::ofstream &log) {
+ if (endingBit - startingBit < N)
+ N = endingBit - startingBit;
+
+ size_t total_ops = N * rounds;
----------------
overmighty wrote:
Hopes that it will never overflow.
https://github.com/llvm/llvm-project/pull/94629
More information about the libc-commits
mailing list