Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / libc / test / src / math / differential_testing / exp2f_diff.cpp
blob545c6de320fc7c48d44752e32c12f385581dc7d8
1 //===-- Differential test for exp2f----------------------------------------===//
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/exp2f.h"
13 #include <math.h>
15 SINGLE_INPUT_SINGLE_OUTPUT_DIFF(float, LIBC_NAMESPACE::exp2f, ::exp2f,
16 "exp2f_diff.log")