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