-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose the Sin, Cos, and SinCos methods on the Vector types (#104848)
* Allow using a more efficient algorithm if twice the vector size is accelerated * Remove an unnecessary generic parameter from ExpDouble * Expose the Sin, Cos, and SinCos methods on the Vector types * Use the vector Sin, Cos, and SinCos methods where possible * Adding tests covering the vector Sin, Cos, and SinCos APIs * Fix some small bugs in the Sin, Cos, and SinCos impls * Ensure that very large inputs are handled * Ensure region is correctly adjusted when determining the sign of sin * Ensure that TernaryLogic lowering accounts for AND_NOT since it is not commutative * Don't vectorize too large SinPi or CosPi inputs for TensorPrimitives * Don't accelerate SinCosPi for the time being * Don't accelerate TensorPrimitives.SinCos for the time being * Don't include JIT changes, they were extracted to their own PR
- Loading branch information
1 parent
b33575b
commit 1777432
Showing
29 changed files
with
2,932 additions
and
490 deletions.
There are no files selected for viewing
246 changes: 245 additions & 1 deletion
246
src/libraries/Common/tests/System/GenericMathTestMemberData.cs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.