[libc-commits] [libc] [libc][math] Implement fast pass for double precision pow function with up to 1ULP error. (PR #101926)
via libc-commits
libc-commits at lists.llvm.org
Mon Aug 5 05:05:08 PDT 2024
================
@@ -0,0 +1,114 @@
+//===-- Unittests for pow ------------------------------------------------===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+
+#include "hdr/math_macros.h"
+#include "src/__support/FPUtil/FPBits.h"
----------------
overmighty wrote:
I don't see hdr/math_macros.h being used, and the `FPBits` type being used is the `using FPBits = LIBC_NAMESPACE::fputil::FPBits<T>;` from `FPTest`.
```suggestion
```
https://github.com/llvm/llvm-project/pull/101926
More information about the libc-commits
mailing list