1 //===-- Unittests for hypot -----------------------------------------------===//
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/hypot.h"
12 
13 using HypotTest = HypotTestTemplate<double>;
14 
15 TEST_F(HypotTest, SpecialNumbers) { testSpecialNumbers(&__llvm_libc::hypot); }
16 
17 TEST_F(HypotTest, SubnormalRange) { testSubnormalRange(&__llvm_libc::hypot); }
18 
19 TEST_F(HypotTest, NormalRange) { testNormalRange(&__llvm_libc::hypot); }
20