-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Open
Labels
area-Metadesign-discussionOngoing discussion about design without consensusOngoing discussion about design without consensustenet-compatibilityIncompatibility with previous versions or .NET FrameworkIncompatibility with previous versions or .NET Frameworktenet-performancePerformance related issuePerformance related issue
Milestone
Description
As per the title, both System.Math and System.MathF should have most of their extern methods implemented in managed code rather than being FCALLs to the underlying C runtime.
This will ensure:
- Consistency across operating systems and architectures
- Implementations can be more readily updated without requiring changes in the runtime proper
Some of the functions (such as Abs, Ceil, Floor, Round, and Sqrt) are simple enough that they can be implemented in managed code today and still maintain the performance characteristics.
Other functions (such as Cos, Sin, and Tan) will need to wait until the hardware intrinsics proposal is more widely available (since maintaining perf numbers will require an implementation to call said intrinsics).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-Metadesign-discussionOngoing discussion about design without consensusOngoing discussion about design without consensustenet-compatibilityIncompatibility with previous versions or .NET FrameworkIncompatibility with previous versions or .NET Frameworktenet-performancePerformance related issuePerformance related issue