Fix a COMDouble::Round() issue (dotnet/coreclr#12210)
authorHan Lee <han.lee@intel.com>
Wed, 14 Jun 2017 16:14:18 +0000 (09:14 -0700)
committerJan Vorlicek <janvorli@microsoft.com>
Wed, 14 Jun 2017 16:14:18 +0000 (18:14 +0200)
commit9d7b53b3bb0948e1d9d79263fa326aa44d92d552
tree131af09daf81f200502787218905fc2a1caeb63c
parentb9bba78255c4e288d2601e5182a88fadda6c56f5
Fix a COMDouble::Round() issue (dotnet/coreclr#12210)

* Fix a COMDouble::Round() issue
fixes https://github.com/dotnet/coreclr/issues/12137

* Add a couple tests for Math.Round(double)
based on https://github.com/dotnet/coreclr/issues/12137

* Use G17 format specifier for printing double values

Commit migrated from https://github.com/dotnet/coreclr/commit/395f145ba0c220afb1d85ff8c26f34909d8ea424
src/coreclr/src/classlibnative/float/floatdouble.cpp
src/coreclr/src/classlibnative/float/floatsingle.cpp
src/coreclr/tests/src/CoreMangLib/cti/system/math/mathround3.cs