Skip to content

Commit 079c7ad

Browse files
committed
fixup! [libc][math][c23] Add fabsf16 C23 math function
Replace includes for float16 alias with "include/llvm-libc-types/float16.h".
1 parent e1c6035 commit 079c7ad

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

libc/cmake/modules/compiler_features/check_float16.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "src/__support/macros/properties/types.h"
1+
#include "include/llvm-libc-types/float16.h"
22

33
#ifndef LIBC_TYPES_HAS_FLOAT16
44
#error unsupported

libc/src/math/fabsf16.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#ifndef LLVM_LIBC_SRC_MATH_FABSF16_H
1010
#define LLVM_LIBC_SRC_MATH_FABSF16_H
1111

12-
#include "src/__support/macros/properties/types.h"
12+
#include "include/llvm-libc-types/float16.h"
1313

1414
namespace LIBC_NAMESPACE {
1515

libc/src/math/generic/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ add_entrypoint_object(
248248
HDRS
249249
../fabsf16.h
250250
DEPENDS
251-
libc.src.__support.macros.properties.types
251+
libc.include.llvm-libc-types.float16
252252
libc.src.__support.FPUtil.basic_operations
253253
COMPILE_OPTIONS
254254
-O3

0 commit comments

Comments
 (0)