You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new System.MathF APIs (#1151) where implemented in dotnet/coreclr#5492. However, they are currently only available in netcoreapp1.1 base applications.
Until they make their way back into the Desktop framework, I propose that simple wrapper implementations be provided so the APIs are accessible in .NETStandard based libraries.
The wrapper function should just call the corresponding System.Math API and cast the result back to System.Single.
For example, System.Acos(float) would be implemented as:
The new System.MathF APIs (#1151) where implemented in dotnet/coreclr#5492. However, they are currently only available in
netcoreapp1.1base applications.Until they make their way back into the Desktop framework, I propose that simple wrapper implementations be provided so the APIs are accessible in .NETStandard based libraries.
The wrapper function should just call the corresponding
System.MathAPI and cast the result back toSystem.Single.For example,
System.Acos(float)would be implemented as: