Refactor src/math/hypotf.cpp and test/src/math/hypotf_test.cpp and reuse them for hypot and hypot_test Differential Revision: https://reviews.llvm.org/D91831
19 lines
566 B
C++
19 lines
566 B
C++
//===-- Implementation header for hypot -------------------------*- C++ -*-===//
|
|
//
|
|
// 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
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_LIBC_SRC_MATH_HYPOT_H
|
|
#define LLVM_LIBC_SRC_MATH_HYPOT_H
|
|
|
|
namespace __llvm_libc {
|
|
|
|
double hypot(double x, double y);
|
|
|
|
} // namespace __llvm_libc
|
|
|
|
#endif // LLVM_LIBC_SRC_MATH_HYPOT_H
|