跳转到内容

欢迎来到Riguz的小站!这是一个私人wiki,用来记录一些我的笔记。

“Why float division is faster than integer division”的版本历史

差异选择:选中要对比的修订的单选按钮,然后按Enter键或下面的按钮。
说明:(当前)=与最后修订的差异,(之前)=与上个修订的差异,小=小编辑。

2023年12月29日 (星期五)

  • 当前之前 08:392023年12月29日 (五) 08:39 Riguz 留言 贡献 1,556字节 +87 无编辑摘要
  • 当前之前 08:362023年12月29日 (五) 08:36 Riguz 留言 贡献 1,469字节 +1,469 创建页面,内容为“Floating point number division is faster than integer division because of the exponent part in floating point number representation. To divide one exponent by another one plain subtraction is used. int32_t division requires fast division of 31-bit numbers, whereas float division requires fast division of 24-bit mantissas (the leading one in mantissa is implied and not stored in a floating point number) and faster subtraction of 8-bit exponents. See an excelle…”