Files
Saina Daneshmand 3404537393 [libc][math] Refactor sqrt to header-only (#178335)
This refactors `sqrt` to be header-only, following the libc math
refactoring plan.

Part of #147386  
Closes #177648
2026-01-29 03:10:33 +00:00

24 lines
683 B
C++

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