-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add most of the remaining methods from MathF
Adds vectorized implementations everywhere - CopySign - Reciprocal{Sqrt}{Estimate} - Sqrt Adds vectorized implementations on .NET 7+ and scalar elsewhere - Ceiling - Floor - Truncate Adds scalar implementations everywhere: - Log10 - Log(x, y) (with y as both span and scalar) - Pow(x, y) (with y as both span and scalar) - Cbrt - IEEERemainder - Acos - Acosh - Cos - Asin - Asinh - Sin - Atan - Atan2 - Atanh - Tan There are several methods remaining on MathF that I've not included: - Because they don't seem as relevant: BitDecrement/BitIncrement - Because a non-floating point argument would be a new pattern: ScaleB - Because a non-floating point result would be a new pattern: ILogB/Sign - Because two destinations would be a new pattern: SinCos - Because overloads with ints and enums would be a new pattern: Round
- Loading branch information
1 parent
4101144
commit ada9b18
Showing
5 changed files
with
1,525 additions
and
8 deletions.
There are no files selected for viewing
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.