Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
amelius
· 9y ago · 0 comments
It could also be a neat trick around the Intel Pentium's FDIV bug, [1].
[1]
https://en.wikipedia.org/wiki/Pentium_FDIV_bug
Comments
[–]
lfowles
9y ago
I'm not sure I follow your line of thought given the post is talking integer division and FDIV is floating point division.
[–]
amelius
OP
9y ago
Well, you can build a floating point DIV out of an integer DIV, I suppose. Roughly speaking, you divide the (integer) mantissa, and subtract the exponent, and you normalize.
[–]
bbcbasic
9y ago
Cool. Time to dust off that old PC in the attic.
[–]
Sohcahtoa82
9y ago
Because people are totally going to be concerned about working around a bug that was fixed over 20 years ago.