llvm-project/libc/test/src/math/llroundf_test.cpp
Siva Chandra Reddy 7aeb3804c4 [libc] Add implementations of lround[f|l] and llround[f|l].
A new function to MPFRWrapper has been added, which is used to set up
the unit tests.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D93007
2020-12-11 11:12:40 -08:00

15 lines
530 B
C++

//===-- Unittests for llroundf --------------------------------------------===//
//
// 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 "RoundToIntegerTest.h"
#include "include/math.h"
#include "src/math/llroundf.h"
LIST_ROUND_TO_INTEGER_TESTS(float, long long, __llvm_libc::llroundf)