[libc-commits] [PATCH] D118157: [libc] Improve hypotf performance with different algorithm correctly rounded to all rounding modes.

Tue Ly via Phabricator via libc-commits libc-commits at lists.llvm.org
Sat Jan 29 21:48:19 PST 2022


lntue updated this revision to Diff 404339.
lntue added a comment.

Add a quick return when the exponent difference is at least 2 more than the mantissa length.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D118157

Files:
  libc/src/math/generic/CMakeLists.txt
  libc/src/math/generic/hypotf.cpp
  libc/test/src/math/differential_testing/BinaryOpSingleOutputDiff.h
  libc/test/src/math/hypotf_hard_to_round.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118157.404339.patch
Type: text/x-patch
Size: 4285 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220130/8f4f8e0c/attachment.bin>


More information about the libc-commits mailing list