[libc-commits] [PATCH] D147759: [libc][math] Update range reduction step for log2f and improve its performance.

Tue Ly via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Apr 7 04:24:20 PDT 2023


lntue added a comment.

In D147759#4250696 <https://reviews.llvm.org/D147759#4250696>, @zimmermann6 wrote:

> I get an error at compilation:
>
>   /localdisk/zimmerma/llvm-project/libc/src/math/generic/log2f.cpp:149:48: error: use of undeclared identifier 'R'
>                              static_cast<double>(R[index]), -1.0); // Exact
>                                                  ^

Can you try to apply https://reviews.llvm.org/D147676 and https://reviews.llvm.org/D147755 before this patch to see if it works?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D147759/new/

https://reviews.llvm.org/D147759



More information about the libc-commits mailing list