| //===-- Unittests for hypotbf16 -------------------------------------------===// | |
| // | |
| // 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 "HypotTest.h" | |
| #include "src/__support/FPUtil/bfloat16.h" | |
| #include "src/math/hypotbf16.h" | |
| using LlvmLibcHypotBf16Test = HypotTestTemplate<bfloat16>; | |
| TEST_F(LlvmLibcHypotBf16Test, SpecialNumbers) { | |
| test_special_numbers(&LIBC_NAMESPACE::hypotbf16); | |
| } |