diff options
author | Jim Ma <mazong1123@gmail.com> | 2017-10-19 13:03:26 +0800 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2017-10-18 22:03:26 -0700 |
commit | 138f0b70a3dbdc695aa805356a65fb8a741b11b2 (patch) | |
tree | 3c2bd90e2d9b91473482e898fee91da206588dcd /src/classlibnative | |
parent | 271a9ba275bc76b3f97fe604a143f73ffa313d5a (diff) | |
download | coreclr-138f0b70a3dbdc695aa805356a65fb8a741b11b2.tar.gz coreclr-138f0b70a3dbdc695aa805356a65fb8a741b11b2.tar.bz2 coreclr-138f0b70a3dbdc695aa805356a65fb8a741b11b2.zip |
Use ascii * instead of Chinese * character. (#14584)
Currently we have Chinese `*` characters at `src\classlibnative\bcltype\number.cpp` L289-294. That would cause a `C4819: Non-ASCII character in source` warning when building on Windows via Visual Studio (version: 15.4.0 (msvc 19.11.25547)).
This PR replaces the Chinese * characters with ascii *.
Fix #14556
Diffstat (limited to 'src/classlibnative')
-rw-r--r-- | src/classlibnative/bcltype/number.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/classlibnative/bcltype/number.cpp b/src/classlibnative/bcltype/number.cpp index a4497a50d3..c45260d05b 100644 --- a/src/classlibnative/bcltype/number.cpp +++ b/src/classlibnative/bcltype/number.cpp @@ -286,12 +286,12 @@ void DoubleToNumberWorker( double value, int count, int* dec, int* sign, wchar_t // Following are the Scheme code from the paper: // -------------------------------------------------------------------------------- // (if (>= est 0) - // (fixup r (∗ s (exptt B est)) m+ m− est B low-ok? high-ok? ) + // (fixup r (* s (exptt B est)) m+ m− est B low-ok? high-ok? ) // (let ([scale (exptt B (− est))]) - // (fixup (∗ r scale) s (∗ m+ scale) (∗ m− scale) est B low-ok? high-ok? )))) + // (fixup (* r scale) s (* m+ scale) (* m− scale) est B low-ok? high-ok? )))) // -------------------------------------------------------------------------------- // - // If est is 0, (∗ s (exptt B est)) = s, (∗ r scale) = (* r (exptt B (− est)))) = r. + // If est is 0, (* s (exptt B est)) = s, (* r scale) = (* r (exptt B (− est)))) = r. // // So we just skip when k = 0. |