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
15 lines
530 B
C++
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)
|