dotnet/roslyn

Negative Zero double value showing as zero in Locals and Watch Windows

开放

#58,755 创建于 2022年1月10日

 (0 条评论) (0 个反应) (0 位负责人)C# (4,257 个派生)batch import
Area-InteractiveBugDeveloper CommunityInteractive-Debugginghelp wanted

仓库指标

星标
 (20,414 个星标)
PR 合并指标
 (平均合并 6天 17小时) (30 天内合并 256 个 PR)

描述

This issue has been moved from a ticket on Developer Community.


C# 8 - VS 2019 16.11.8 - .Net Core 3.1 project. Double value of zero multiplied by -1 (integer) yields a double with a negative zero value. However when the variable holding the computed value is displayed in the Locals or Watch window, it displays as 0 (zero) without a negative sign. Furthermore, adding the ",h" format to the display does not show the hexadecimal formatted value.


Original Comments

Feedback Bot on 1/3/2022, 08:17 PM:

Feedback Bot on 1/10/2022, 09:50 AM:


Original Solutions

(no solutions)

贡献者指南