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 "include/math.h" 12 #include "src/math/hypotf.h" 13 14 using HypotfTest = HypotTestTemplate<float>; 15 TEST_F(HypotfTest,SpecialNumbers)16TEST_F(HypotfTest, SpecialNumbers) { testSpecialNumbers(&__llvm_libc::hypotf); } 17 TEST_F(HypotfTest,SubnormalRange)18TEST_F(HypotfTest, SubnormalRange) { testSubnormalRange(&__llvm_libc::hypotf); } 19 TEST_F(HypotfTest,NormalRange)20TEST_F(HypotfTest, NormalRange) { testNormalRange(&__llvm_libc::hypotf); } 21