1 //===-- Unittests for hypotf ----------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #include "HypotTest.h"
10 
11 #include "src/math/hypotf.h"
12 
13 using LlvmLibcHypotfTest = HypotTestTemplate<float>;
14 
TEST_F(LlvmLibcHypotfTest,SpecialNumbers)15 TEST_F(LlvmLibcHypotfTest, SpecialNumbers) {
16   testSpecialNumbers(&__llvm_libc::hypotf);
17 }
18 
TEST_F(LlvmLibcHypotfTest,SubnormalRange)19 TEST_F(LlvmLibcHypotfTest, SubnormalRange) {
20   testSubnormalRange(&__llvm_libc::hypotf);
21 }
22 
TEST_F(LlvmLibcHypotfTest,NormalRange)23 TEST_F(LlvmLibcHypotfTest, NormalRange) {
24   testNormalRange(&__llvm_libc::hypotf);
25 }
26