[all-commits] [llvm/llvm-project] 0bedb6: [mlir][math] Improved math.atan approximation
Rob Suderman via All-commits
all-commits at lists.llvm.org
Fri Jun 23 17:32:43 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0bedb667af1d105a243d5ad08a460f8b218724cb
https://github.com/llvm/llvm-project/commit/0bedb667af1d105a243d5ad08a460f8b218724cb
Author: Robert Suderman <suderman at google.com>
Date: 2023-06-23 (Fri, 23 Jun 2023)
Changed paths:
M mlir/lib/Dialect/Math/Transforms/PolynomialApproximation.cpp
M mlir/test/Dialect/Math/polynomial-approximation.mlir
M mlir/test/mlir-cpu-runner/math-polynomial-approx.mlir
Log Message:
-----------
[mlir][math] Improved math.atan approximation
Used the cephes numerical approximation for `math.atan`. This is a
significant accuracy improvement over the previous taylor series
approximation.
Reviewed By: jpienaar
Differential Revision: https://reviews.llvm.org/D153656
More information about the All-commits
mailing list