[libc-commits] [libc] [llvm] [libc] use constexpr for sinpif (PR #176580)

via libc-commits libc-commits at lists.llvm.org
Sat Jan 17 10:14:33 PST 2026


================
@@ -7,111 +7,10 @@
 //===----------------------------------------------------------------------===//
 
 #include "src/math/sinpif.h"
-#include "src/__support/FPUtil/FEnvImpl.h"
-#include "src/__support/FPUtil/FPBits.h"
-#include "src/__support/FPUtil/PolyEval.h"
-#include "src/__support/FPUtil/multiply_add.h"
-#include "src/__support/common.h"
-#include "src/__support/macros/config.h"
-#include "src/__support/macros/optimization.h" // LIBC_UNLIKELY
-#include "src/__support/math/sincosf_utils.h"
-
+#include "src/__support/math/sinpif.h"
----------------
AnonMiraj wrote:

```suggestion
#include "src/__support/math/sinpif.h"

```

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


More information about the libc-commits mailing list