1//===-- Square root of IEEE 754 floating point numbers ----------*- C++ -*-===//
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
9#ifndef LLVM_LIBC_SRC___SUPPORT_FPUTIL_SQRT_H
10#define LLVM_LIBC_SRC___SUPPORT_FPUTIL_SQRT_H
11
12#include "src/__support/macros/properties/architectures.h"
13
14#if defined(LIBC_TARGET_ARCH_IS_X86_64)
15#include "x86_64/sqrt.h"
16#elif defined(LIBC_TARGET_ARCH_IS_AARCH64)
17#include "aarch64/sqrt.h"
18#elif defined(LIBC_TARGET_ARCH_IS_ANY_RISCV)
19#include "riscv/sqrt.h"
20#else
21#include "generic/sqrt.h"
22
23#endif
24#endif // LLVM_LIBC_SRC___SUPPORT_FPUTIL_SQRT_H
25

source code of libc/src/__support/FPUtil/sqrt.h