/
GitCaptain
/
llvm-project
Обзор
Документация
Войти
/
GitCaptain
/
llvm-project
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
fix-tests
libc/src/math/generic/sqrt.cpp
17 строк
597 B
Tue Ly
[libc] Refactor sqrt implementations and add tests for generic sqrt implementations.
28 янв 2022, 21:39
28 янв 2022, 21:39
ad4ee2d
Код
Авторство
О чём код?
//===-- Implementation of sqrt function -----------------------------------===// // // 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 // //===----------------------------------------------------------------------===// #include "src/math/sqrt.h" #include "src/__support/FPUtil/sqrt.h" #include "src/__support/common.h" namespace __llvm_libc { LLVM_LIBC_FUNCTION(double, sqrt, (double x)) { return fputil::sqrt(x); } } // namespace __llvm_libc