[libc-commits] [libc] [libc][math][c23] Add fabsf16 C23 math function (PR #93567)
via libc-commits
libc-commits at lists.llvm.org
Wed May 29 09:54:29 PDT 2024
================
@@ -378,6 +378,7 @@ def StdC : StandardSpec<"stdc"> {
[
NamedType<"float_t">,
NamedType<"double_t">,
+ NamedType<"float16">,
----------------
lntue wrote:
OTOH, I think we can just move the `LIBC_TYPES_HAS_FLOAT16` macro definition to `llvm-libc-macros/float16-macros.h`, directly include it in `math.h.def` and don't have to add it here.
https://github.com/llvm/llvm-project/pull/93567
More information about the libc-commits
mailing list