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