[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:47:26 PDT 2024


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

I wasn't suggesting to move it out of the whole libc/include directory for public headers, but the llvm-libc-types subdirectory currently only stores headers that define types or `typedef`s. However, I'll leave it in llvm-libc-types for now as moving it to another subdirectory would require changes to llvm-hdrgen to generate the proper include.

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


More information about the libc-commits mailing list