Updating Dragon4 to ensure the number buffer always provides a significant digit...
authorTanner Gooding <tagoo@outlook.com>
Mon, 24 Jun 2019 22:39:50 +0000 (15:39 -0700)
committerGitHub <noreply@github.com>
Mon, 24 Jun 2019 22:39:50 +0000 (15:39 -0700)
commite3c9a4afbceb838d7bffab1f246190a3d72caf42
tree3be7ca86bb5490876547279e2274db60e445b9e3
parent27229c8c10fabe9c689805e68ff225a96664b5cf
Updating Dragon4 to ensure the number buffer always provides a significant digit if one exists. (#25096)

* Updating Dragon4 to ensure the number buffer always provides a significant digit if one exists.

* Changing System.Number.RoundNumber to not round up floating-point numbers.

* Re-enabling the RealFormatterTestsBase CoreFX tests

* Updating Number.RoundNumber to take a isCorrectlyRounded parameter and to use IEEE compliant rounding for floating-point numbers.

* Change SinglePrecisionCustomFormat to 7, ensuring it matches the value used in netcoreapp2.1
src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Decimal.cs
src/System.Private.CoreLib/shared/System/Number.Dragon4.cs
src/System.Private.CoreLib/shared/System/Number.Formatting.cs
tests/CoreFX/CoreFX.issues.rsp