blob: e4ca88b8810e16f7b679a6c851c6e405528eb0d0 [file] [log] [blame] [edit]
//===-- Unittests for f16fmaf ---------------------------------------------===//
//
// 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 "FmaTest.h"
#include "src/math/f16fmaf.h"
using LlvmLibcF16fmafTest = FmaTestTemplate<float16, float>;
TEST_F(LlvmLibcF16fmafTest, SubnormalRange) {
test_subnormal_range(&LIBC_NAMESPACE::f16fmaf);
}
TEST_F(LlvmLibcF16fmafTest, NormalRange) {
test_normal_range(&LIBC_NAMESPACE::f16fmaf);
}