/
GitCaptain
/
llvm-project
Обзор
Документация
Войти
/
GitCaptain
/
llvm-project
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
fix-tests
libc/src/math/generic/roundl.cpp
19 строк
634 B
Michael Jones
[libc][nfc] move ctype_utils and FPUtils to __support
06 авг 2021, 20:29
06 авг 2021, 20:29
c120edc
Код
Авторство
О чём код?
//===-- Implementation of roundl 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/roundl.h" #include "src/__support/FPUtil/NearestIntegerOperations.h" #include "src/__support/common.h" namespace __llvm_libc { LLVM_LIBC_FUNCTION(long double, roundl, (long double x)) { return fputil::round(x); } } // namespace __llvm_libc