[libc-commits] [libc] [libc][math][c23] Add fabsf16 C23 math function (PR #93567)
via libc-commits
libc-commits at lists.llvm.org
Tue May 28 11:28:54 PDT 2024
================
@@ -378,6 +378,7 @@ def StdC : StandardSpec<"stdc"> {
[
NamedType<"float_t">,
NamedType<"double_t">,
+ NamedType<"float16">,
----------------
overmighty wrote:
We actually use `_Float16` (`Float16Type`) in the public header, but this needs to match the name of the header in llvm-libc-types for libc-hdrgen to generate the #include line.
Or should we split the `LIBC_TYPES_HAS_FLOAT16` macro and the `float16` type alias into 2 separate headers, as we said we'd only use `float16` internally?
https://github.com/llvm/llvm-project/pull/93567
More information about the libc-commits
mailing list