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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Beyond Floating Point – Next Generation Computer Arithmetic

20 点作者 merraksh超过 8 年前

3 条评论

CalChris超过 8 年前
Gustafson gives a compelling argument, especially for low precision like 8b and 16b. In 8b, operations can be implemented with table lookup with FPGAs. Unums are better than IEEE but can't an application specific choice do better given that we're talking about choosing 256 numbers?
doesnotexist超过 8 年前
This was more interesting than I expected. Who knew that many architectures have a flag that indicates that a float values is inexact, but that no language exposes that to programmers. Or that IEEE 754 isn&#x27;t really a standard as much as it is a set of guidelines.<p>He makes a compelling argument for why his proposal of the ubit&#x2F;posit represents mathematical truthful statements, while floating point lies to you. The tradeoffs make a lot of sense. No more overflow&#x2F;underflow. Better closure under arithmetical operations.<p>“Floating point numbers are like piles of sand; every time you move them around, you lose a little sand and pick up a little dirt.” -- Brian Kernighan
slededit超过 8 年前
What&#x27;s really needed is an error term that can be computed in parallel with your normal floating point operation. Floating point is impossible to write correctly in practice if you don&#x27;t consider the accumulated error.
评论 #13589924 未加载