TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

A Story of a Heisenbug Hunt (2011)

3 点作者 gaoprea超过 11 年前

1 comment

greenyoda超过 11 年前
The author still doesn&#x27;t understand how &quot;fprintf(stderr, &quot;\n&quot;);&quot; could have changed the behavior, so I doubt he understands the real cause of the bug. A test for floating point equality may not give you the result you expect, but it is most certainly deterministic: if you compare the same two floating point numbers (i.e., the same sequences of bits that represent two floating point numbers), the hardware will give you exactly the same result each time. So there was something in the program that caused a <i>different</i> floating point result to be computed under some circumstances.