| 1 | //===-- Shared ilogbf16 function --------------------------------*- C++ -*-===// |
| 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 | #ifndef LLVM_LIBC_SHARED_MATH_ILOGBF16_H |
| 10 | #define LLVM_LIBC_SHARED_MATH_ILOGBF16_H |
| 11 | |
| 12 | #include "include/llvm-libc-macros/float16-macros.h" |
| 13 | |
| 14 | #ifdef LIBC_TYPES_HAS_FLOAT16 |
| 15 | |
| 16 | #include "shared/libc_common.h" |
| 17 | #include "src/__support/math/ilogbf16.h" |
| 18 | |
| 19 | namespace LIBC_NAMESPACE_DECL { |
| 20 | namespace shared { |
| 21 | |
| 22 | using math::ilogbf16; |
| 23 | |
| 24 | } // namespace shared |
| 25 | } // namespace LIBC_NAMESPACE_DECL |
| 26 | |
| 27 | #endif // LIBC_TYPES_HAS_FLOAT16 |
| 28 | |
| 29 | #endif // LLVM_LIBC_SHARED_MATH_ILOGBF16_H |
| 30 | |