Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / libc / test / src / math / differential_testing / cosf_diff.cpp
blobee3102384a8e6b79bf1c71a761a4dcc9cac39bf3
1 //===-- Differential test for cosf ----------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #include "SingleInputSingleOutputDiff.h"
11 #include "src/math/cosf.h"
13 #include <math.h>
15 SINGLE_INPUT_SINGLE_OUTPUT_DIFF(float, LIBC_NAMESPACE::cosf, ::cosf,
16 "cosf_diff.log")