Saina Daneshmand 737f4447ad
[libc][math] Refactor sqrtf to header-only (#178778)
Refactors sqrtf to be header-only.

Closes #177649.
2026-01-30 05:31:04 +00:00

24 lines
688 B
C++

//===-- Shared header for sqrtf ---------------------------------*- 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_SHARED_MATH_SQRTF_H
#define LLVM_LIBC_SHARED_MATH_SQRTF_H
#include "shared/libc_common.h"
#include "src/__support/math/sqrtf.h"
namespace LIBC_NAMESPACE_DECL {
namespace shared {
using math::sqrtf;
} // namespace shared
} // namespace LIBC_NAMESPACE_DECL
#endif // LLVM_LIBC_SHARED_MATH_SQRTF_H