We present algorithms for performing the five elementary arithmetic operations (+, -, ×, ÷, and √) 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. Simulating stochastically rounded floating-point operations can be used to explore the behavior of this rounding, as well as to dev...
International audienceBecause of the finite representation of floating-point numbers in computers, t...
International audienceBecause of the finite representation of floating-point numbers in computers, t...
The half precision (fp16) floating-point format, defined in the 2008 revision of the IEEE standard f...
We present algorithms for performing the four elementary arithmetic operations (+, -, ×, and ÷) in f...
Modern floating-point multipliers perform rounding in compliance with the IEEE 754 standard. Since r...
Stochastic rounding randomly maps a real number to one of the two nearest values in a finite precisi...
Rounding errors present an inherent problem to all computer programs involving floating-point number...
International audienceBecause of the finite representation of floating-point numbers in computers, t...
International audienceBecause of the finite representation of floating-point numbers in computers, t...
International audienceBecause of the finite representation of floating-point numbers in computers, t...
International audienceBecause of the finite representation of floating-point numbers in computers, t...
We present an algorithm for implementing correctly rounded exponentials in double-precision floating...
International audienceStochastic rounding randomly maps a real number to one of the two nearest valu...
International audienceBecause of the finite representation of floating-point numbers in computers, t...
International audienceBecause of the finite representation of floating-point numbers in computers, t...
International audienceBecause of the finite representation of floating-point numbers in computers, t...
International audienceBecause of the finite representation of floating-point numbers in computers, t...
The half precision (fp16) floating-point format, defined in the 2008 revision of the IEEE standard f...
We present algorithms for performing the four elementary arithmetic operations (+, -, ×, and ÷) in f...
Modern floating-point multipliers perform rounding in compliance with the IEEE 754 standard. Since r...
Stochastic rounding randomly maps a real number to one of the two nearest values in a finite precisi...
Rounding errors present an inherent problem to all computer programs involving floating-point number...
International audienceBecause of the finite representation of floating-point numbers in computers, t...
International audienceBecause of the finite representation of floating-point numbers in computers, t...
International audienceBecause of the finite representation of floating-point numbers in computers, t...
International audienceBecause of the finite representation of floating-point numbers in computers, t...
We present an algorithm for implementing correctly rounded exponentials in double-precision floating...
International audienceStochastic rounding randomly maps a real number to one of the two nearest valu...
International audienceBecause of the finite representation of floating-point numbers in computers, t...
International audienceBecause of the finite representation of floating-point numbers in computers, t...
International audienceBecause of the finite representation of floating-point numbers in computers, t...
International audienceBecause of the finite representation of floating-point numbers in computers, t...
The half precision (fp16) floating-point format, defined in the 2008 revision of the IEEE standard f...