Fixing up the UTF8Formatter and some tests to properly handle -0.0
authorTanner Gooding <tagoo@outlook.com>
Fri, 7 Sep 2018 15:36:41 +0000 (08:36 -0700)
committerTanner Gooding <tagoo@outlook.com>
Fri, 7 Sep 2018 20:31:38 +0000 (13:31 -0700)
commitec0a0f3b1c3c93e72ef48dcd71a139bb56abda83
treef59408dc508dc13938e77050063bdb3d040d495c
parent1601e5504b9b034a20836ff4065e6ff9c3266ceb
Fixing up the UTF8Formatter and some tests to properly handle -0.0

Commit migrated from https://github.com/dotnet/corefx/commit/e328f2b8bb3d7f69c921d8e422ace26b7fd9182a
src/libraries/System.Memory/src/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Decimal.cs
src/libraries/System.Memory/src/System/Number/Number.FormatAndParse.cs
src/libraries/System.Memory/src/System/Number/Number.NumberBuffer.cs
src/libraries/System.Memory/src/System/Number/Number.cs
src/libraries/System.Runtime.Extensions/tests/System/Convert.ToString.cs