[libc-commits] [PATCH] D115408: [libc] Implement correctly rounded logf based on RLIBM library.

Paul Zimmermann via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Dec 9 22:33:11 PST 2021


zimmermann6 added a comment.

Do you know the cost in latency/throughput of the switch() with the 21 exceptional cases? Another way would be to perform a rounding test once the approximation of log has been computed, and go in the switch only if the test fails (which would happen very rarely).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115408



More information about the libc-commits mailing list