• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===-- Implementation of hypotf function ---------------------------------===//
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 //===----------------------------------------------------------------------===//
8 #include "src/__support/common.h"
9 #include "utils/FPUtil/Hypot.h"
10 
11 namespace __llvm_libc {
12 
LLVM_LIBC_ENTRYPOINT(hypotf)13 float LLVM_LIBC_ENTRYPOINT(hypotf)(float x, float y) {
14   return __llvm_libc::fputil::hypot(x, y);
15 }
16 
17 } // namespace __llvm_libc
18