[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:36:58 PDT 2024


================
@@ -378,6 +378,7 @@ def StdC : StandardSpec<"stdc"> {
       [
           NamedType<"float_t">,
           NamedType<"double_t">,
+          NamedType<"float16">,
----------------
lntue wrote:

Yes, we still need the macro definition in the public header, so that it can be used to guard `_Float16` functions in the generated `math.h`.

https://github.com/llvm/llvm-project/pull/93567


More information about the libc-commits mailing list