[release/3.0] Updating Math.Round and MathF.Round to be IEEE compliant so that the...
authorTanner Gooding <tagoo@outlook.com>
Wed, 7 Aug 2019 16:15:58 +0000 (09:15 -0700)
committerWilliam Godbe <wigodbe@microsoft.com>
Wed, 7 Aug 2019 16:15:58 +0000 (09:15 -0700)
commitf879b52ac9dd9d64bfcde6c9c39f1ccca2bab9a2
tree29e15556b61c2514d41ecc864644902ae395f847
parentb1efbdd7b6498cb92e1fce6927691764a1f06b55
[release/3.0] Updating Math.Round and MathF.Round to be IEEE compliant so that the intrinsic and managed form are deterministic. (#26017)

* Updating Math.Round and MathF.Round to be IEEE compliant so that the intrinsic and managed form are deterministic. (#25901)

* Updating Math.Round and MathF.Round to be IEEE compliant so that the intrinsic and managed form are deterministic.

* Fixing the Math.Round and MathF.Round handling for values greater than 0.5 and less than 1.0

* Applying formatting patch.

* Adding a comment about only having the roundToNearestTiesToEven code path
THIRD-PARTY-NOTICES.TXT
src/System.Private.CoreLib/shared/System/Double.cs
src/System.Private.CoreLib/shared/System/Math.cs
src/System.Private.CoreLib/shared/System/MathF.cs
src/System.Private.CoreLib/shared/System/Single.cs
src/jit/utils.cpp