4.7 Article

Algorithms for Stochastically Rounded Elementary Arithmetic Operations in IEEE 754 Floating-Point Arithmetic

期刊

出版社

IEEE-INST ELECTRICAL ELECTRONICS ENGINEERS INC
DOI: 10.1109/TETC.2021.3069165

关键词

Stochastic processes; Hardware; Standards; Tools; Software; Libraries; Monte Carlo methods; Floating-point arithmetic; error-free transformation; stochastic rounding; numerical analysis; numerical algorithm; IEEE 754

资金

  1. Royal Society
  2. Wenner-Gren Foundations [UPD2019-0067]
  3. Istituto Nazionale di Alta Matematica INdAM-GNCS Project 2020
  4. Engineering and Physical Sciences Research Council [EP/P020720/1]

向作者/读者索取更多资源

This research presents algorithms for performing the five elementary arithmetic operations in floating point arithmetic with stochastic rounding, which can simulate the rounding mode when hardware does not support it, enabling exploration of the behavior of this rounding mode without specific hardware.
We present algorithms for performing the five elementary arithmetic operations (+, -, x, divided by, and root) in floating point arithmetic with stochastic rounding, and demonstrate the value of these algorithms by discussing various applications where stochastic rounding is beneficial. The algorithms require that the hardware be compliant with the IEEE 754 floating-point standard and that a floating-point pseudorandom number generator be available. The goal of these techniques is to emulate stochastic rounding when the underlying hardware does not support this rounding mode, as is the case for most existing CPUs and GPUs. By simulating stochastic rounding in software, one has the possibility to explore the behavior of this rounding mode and develop new algorithms even without having access to hardware implementing stochastic rounding- once such hardware becomes available, it suffices to replace the proposed algorithms by calls to the corresponding hardware routines. When stochastically rounding double precision operations, the algorithms we propose are between 7.3 and 19 times faster than the implementations that use the GNU MPFR library to simulate extended precision. We test our algorithms on various tasks, including summation algorithms and solvers for ordinary differential equations, where stochastic rounding is expected to bring advantages.

作者

我是这篇论文的作者
点击您的名字以认领此论文并将其添加到您的个人资料中。

评论

主要评分

4.7
评分不足

次要评分

新颖性
-
重要性
-
科学严谨性
-
评价这篇论文

推荐

暂无数据
暂无数据