Optimize Math.Round(x, MidpointRounding.AwayFromZero/ToEven) (#64016)
authorEgor Bogatov <egorbo@gmail.com>
Sun, 13 Feb 2022 12:11:49 +0000 (15:11 +0300)
committerGitHub <noreply@github.com>
Sun, 13 Feb 2022 12:11:49 +0000 (15:11 +0300)
commit9e847a5a9c61f196111ec0a2fc9aa4201177f323
tree1da1b4de9025942f9e8847b0424d9f5328455cdf
parent78c6505cffe2558b036fbe44cd27038affbb6cce
Optimize Math.Round(x, MidpointRounding.AwayFromZero/ToEven) (#64016)
src/libraries/System.Private.CoreLib/src/System/Math.cs
src/libraries/System.Private.CoreLib/src/System/MathF.cs
src/libraries/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.cs
src/libraries/System.Runtime.Extensions/tests/System/Math.cs
src/libraries/System.Runtime.Extensions/tests/System/MathF.cs