首页> 外文期刊>Computers, IEEE Transactions on >Performing Arithmetic Operations on Round-to-Nearest Representations
【24h】

Performing Arithmetic Operations on Round-to-Nearest Representations

机译:对最接近的表示法执行算术运算

获取原文
获取原文并翻译 | 示例

摘要

During any composite computation, there is a constant need for rounding intermediate results before they can participate in further processing. Recently, a class of number representations denoted RN-Codings were introduced, allowing an unbiased rounding-to-nearest to take place by a simple truncation, with the property that problems with double-roundings are avoided. In this paper, we first investigate a particular encoding of the binary representation. This encoding is generalized to any radix and digit set; however, radix complement representations for even values of the radix turn out to be particularly feasible. The encoding is essentially an ordinary radix complement representation with an appended round-bit, but still allowing rounding-to-nearest by truncation, and thus avoiding problems with double-roundings. Conversions from radix complement to these round-to-nearest representations can be performed in constant time, whereas conversion the other way, in general, takes at least logarithmic time. Not only is rounding-to-nearest a constant time operation, but so is also sign inversion, both of which are at best log-time operations on ordinary two's complement representations. Addition and multiplication on such fixed-point representations are first analyzed and defined in such a way that rounding information can be carried along in a meaningful way, at minimal cost. The analysis is carried through for a compact (canonical) encoding using two's complement representation, supplied with a round-bit. Based on the fixed-point encoding, it is shown possible to define floating-point representations, and a sketch of the implementation of an FPU is presented.
机译:在任何复合计算期间,始终需要舍入中间结果,然后它们才能参与进一步的处理。最近,引入了一种表示为RN-Codings的数字表示形式,它允许通过简单的截断来进行无偏向的四舍五入,并且具有避免出现双舍入问题的特性。在本文中,我们首先研究二进制表示的特定编码。该编码被通用化为任何基数和数字集。但是,对于基数的偶数值,基数补码表示特别可行。编码本质上是带有附加的舍入位的普通基数补码表示,但仍允许通过截断将舍入到最接近的值,从而避免出现双舍入问题。从基数补码到这些舍入到最近的表示的转换可以在恒定的时间内执行,而其他方式的转换通常至少需要对数时间。四舍五入不仅要进行恒定时间舍入,而且符号求逆也要这样做,这两种情况最多都是对普通二进制补码表示形式的对数时间操作。首先以这样的方式分析和定义此类定点表示形式的加法和乘法,即以最小的成本以有意义的方式携带舍入信息。使用二进制补码表示(带有圆比特)进行紧凑(规范)编码的分析。基于定点编码,可以定义浮点表示形式,并给出了FPU的实现示意图。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号