[all-commits] [llvm/llvm-project] f55963: [libc] Add implementation for hypotf
lntue via All-commits
all-commits at lists.llvm.org
Thu Sep 17 20:47:46 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: f55963d501e46c9453d08a0c764ec40141230966
https://github.com/llvm/llvm-project/commit/f55963d501e46c9453d08a0c764ec40141230966
Author: Tue Ly <lntue at google.com>
Date: 2020-09-17 (Thu, 17 Sep 2020)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/api.td
M libc/config/linux/x86_64/entrypoints.txt
M libc/spec/stdc.td
M libc/src/math/CMakeLists.txt
A libc/src/math/hypotf.cpp
A libc/src/math/hypotf.h
M libc/test/src/math/CMakeLists.txt
A libc/test/src/math/hypotf_test.cpp
Log Message:
-----------
[libc] Add implementation for hypotf
Truncating the sum of squares, and then use shift-and-add algorithm to compute its square root.
Required MPFR testing infra is updated in https://reviews.llvm.org/D87514
Differential Revision: https://reviews.llvm.org/D87516
More information about the All-commits
mailing list