Expose the DegreesToRadians and RadiansToDegrees APIs (#88866)
authorTanner Gooding <tagoo@outlook.com>
Fri, 14 Jul 2023 05:51:57 +0000 (22:51 -0700)
committerGitHub <noreply@github.com>
Fri, 14 Jul 2023 05:51:57 +0000 (22:51 -0700)
commit40480e8e82b734a54c210f656361ff073353ffbe
tree52d78b6de0ce90d5eb5753c0dcbfb595be23fe32
parent11776982ccea895861e342863d647cc31b37af6f
Expose the DegreesToRadians and RadiansToDegrees APIs (#88866)

* Expose the DegreesToRadians and RadiansToDegrees APIs

* Adding some comments elaborating on the Degrees/Radians conversion APIs

* Update src/libraries/System.Private.CoreLib/src/System/Numerics/ITrigonometricFunctions.cs

Co-authored-by: Joe4evr <jii.geugten@gmail.com>
* Fix a copy/paste error for the Half degree to radians tests

---------

Co-authored-by: Joe4evr <jii.geugten@gmail.com>
src/libraries/System.Private.CoreLib/src/System/Double.cs
src/libraries/System.Private.CoreLib/src/System/Half.cs
src/libraries/System.Private.CoreLib/src/System/Numerics/ITrigonometricFunctions.cs
src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/NFloat.cs
src/libraries/System.Private.CoreLib/src/System/Single.cs
src/libraries/System.Runtime.InteropServices/ref/System.Runtime.InteropServices.cs
src/libraries/System.Runtime.InteropServices/tests/System.Runtime.InteropServices.UnitTests/System/Runtime/InteropServices/NFloatTests.cs
src/libraries/System.Runtime/ref/System.Runtime.cs
src/libraries/System.Runtime/tests/System/DoubleTests.cs
src/libraries/System.Runtime/tests/System/HalfTests.cs
src/libraries/System.Runtime/tests/System/SingleTests.cs