[libc-commits] [libc] [libc][math][c23] Add cospif16 function (PR #113001)
via libc-commits
libc-commits at lists.llvm.org
Fri Oct 18 17:10:46 PDT 2024
================
@@ -0,0 +1,21 @@
+//===-- Implementation header for cospif16 ---------------------*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+// ===--------------------------------------------------------------------===//
----------------
overmighty wrote:
Nit: formatting.
```suggestion
//===-- Implementation header for cospif16 ----------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
```
You can use https://github.com/overmighty/llvm-dev-utils/blob/master/llvm_libc_add_math_function.py to generate this and other bits of boilerplate. I should probably open a PR at some point to add it to libc/utils and document it.
https://github.com/llvm/llvm-project/pull/113001
More information about the libc-commits
mailing list