summaryrefslogtreecommitdiff
path: root/libc/test/src/math/performance_testing/fmodl_perf.cpp
blob: bb5a1d83fa9f15fa9b8b3c3b0799039a03e493a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//===-- Differential test for fmodl ---------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "PerfTest.h"
#include "src/math/fmodl.h"

#include <math.h>

int main() {
  BINARY_INPUT_SINGLE_OUTPUT_PERF(long double, long double,
                                  LIBC_NAMESPACE::fmodl, ::fmodl,
                                  "fmodl_perf.log")
  return 0;
}