[libc-commits] [libc] [llvm] [libc][math] Refactor log to header-only shared math (PR #175395)

Muhammad Bassiouni via libc-commits libc-commits at lists.llvm.org
Sat Jan 10 22:07:33 PST 2026


================
@@ -1,849 +1,7 @@
-//===-- Double-precision log(x) function ----------------------------------===//
-//
-// 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
-//
-//===----------------------------------------------------------------------===//
-
----------------
bassiounix wrote:

Why did you remove this?!
The license comment is needed in all code files.
```suggestion
//===-- Double-precision log(x) function ----------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//

```

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


More information about the libc-commits mailing list