[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:17:08 PDT 2024


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

If we only define `LIBC_TYPES_HAS_FLOAT16` in the public header, does it still make it sense to have it in the llvm-libc-types directory? Each header in that directory defines a type or has a `typedef`.

Also, I just noticed that I copied the C++ `using` statement to the public header which needs to compile as C. We don't seem to have any tests that use our public headers from C, except libc/test/include/stdbit_test.c.

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


More information about the libc-commits mailing list