1//===-- Unittests for hypotf16 --------------------------------------------===//
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/hypotf16.h"
12
13using LlvmLibcHypotf16Test = HypotTestTemplate<float16>;
14
15TEST_F(LlvmLibcHypotf16Test, SubnormalRange) {
16 test_subnormal_range(&LIBC_NAMESPACE::hypotf16);
17}
18
19TEST_F(LlvmLibcHypotf16Test, NormalRange) {
20 test_normal_range(&LIBC_NAMESPACE::hypotf16);
21}
22

source code of libc/test/src/math/hypotf16_test.cpp