[all-commits] [llvm/llvm-project] 42f183: [libc] Change sinf/cosf range reduction to mod pi/...
lntue via All-commits
all-commits at lists.llvm.org
Thu Aug 11 06:42:00 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 42f183792c8c418da7a34f1c700755dc65cafdfc
https://github.com/llvm/llvm-project/commit/42f183792c8c418da7a34f1c700755dc65cafdfc
Author: Tue Ly <lntue at google.com>
Date: 2022-08-11 (Thu, 11 Aug 2022)
Changed paths:
M libc/docs/math.rst
M libc/src/math/generic/cosf.cpp
M libc/src/math/generic/range_reduction.h
M libc/src/math/generic/range_reduction_fma.h
M libc/src/math/generic/sincosf.cpp
M libc/src/math/generic/sincosf_utils.h
M libc/src/math/generic/sinf.cpp
Log Message:
-----------
[libc] Change sinf/cosf range reduction to mod pi/32 to be shared with tanf.
Change sinf/cosf range reduction to mod pi/32 to be shared with tanf,
since polynomial approximations for tanf on subintervals of length pi/16 do not
provide enough accuracy.
Reviewed By: orex
Differential Revision: https://reviews.llvm.org/D131652
More information about the All-commits
mailing list