blob: b607d4a66f8eb0aca48648e6dd1f396f7a474eb1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
//===-- Unittests for fmaf ------------------------------------------------===//
//
// 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/fmaf.h"
using LlvmLibcFmafTest = FmaTestTemplate<float>;
TEST_F(LlvmLibcFmafTest, SpecialNumbers) {
test_special_numbers(&LIBC_NAMESPACE::fmaf);
}
TEST_F(LlvmLibcFmafTest, SubnormalRange) {
test_subnormal_range(&LIBC_NAMESPACE::fmaf);
}
TEST_F(LlvmLibcFmafTest, NormalRange) {
test_normal_range(&LIBC_NAMESPACE::fmaf);
}
|