首页>
外国专利>
Partial stochastic rounding that includes sticky and guard bits
Partial stochastic rounding that includes sticky and guard bits
展开▼
机译:部分随机四舍五入,包括粘性位和保护位
展开▼
页面导航
摘要
著录项
相似文献
摘要
The disclosed herein related to a method for generating a partial stochastic rounding operation executed by a processor coupled to a memory. The method includes generating an intermediate result and causing a random number generator to generate a random number. The method also includes adding the random number to lower significant bits of the intermediate result to perturb any incrementing of most significant bits of the intermediate result to produce a resulting sum. The method also includes truncating the resulting sum into a final result. According to other embodiments, the above method can be implemented in a system or computer program product.
展开▼