[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 08:37:17 PDT 2024
================
@@ -378,6 +378,7 @@ def StdC : StandardSpec<"stdc"> {
[
NamedType<"float_t">,
NamedType<"double_t">,
+ NamedType<"float16">,
----------------
overmighty wrote:
If we move the definition of `float16` to libc/src/__support/macros/properties/types.h, then we could just rename the header that defines `LIBC_TYPES_HAS_FLOAT16` to _Float16.h and we wouldn't have this discrepancy anymore.
https://github.com/llvm/llvm-project/pull/93567
More information about the libc-commits
mailing list