Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose and implement generic math interfaces on core types (#54650)
* Pin MicrosoftNetCompilersToolsetVersion to a version that supports Static Abstracts in Interfaces * Fixed issues related to enabling generic math in a general sense (#4) - Disable constraint checking during EEInit - Disable il linker running on CoreLib - Fixup generic math tests to actually build * Adding interfaces to support generic math * Implement generic math interfaces on core types * Updating the System.Runtime ref assembly to support generic math * Add a basic xunit test for generic-math * Removing unnecessary nullable annotations * Ensure all preview interface members are explicitly implemented * Don't use var for various methods in Double/Half/Single * Ensure FeatureGenericMath is defined for Mono * Skip generic math tests on Mono WASM due to dotnet/runtime#54910 * Apply suggestions from code review Co-authored-by: Aleksey Kliger (λgeek) <akliger@gmail.com> Co-authored-by: David Wrighton <davidwr@microsoft.com> Co-authored-by: Aleksey Kliger (λgeek) <akliger@gmail.com>
- Loading branch information