3 ms·
It could also be a neat trick around the Intel Pentium's FDIV bug, [1]. [1] https://en.wikipedia.org/wiki/Pentium_FDIV_bug https://en.wikipedia.org/wiki/Pentiu
by amelius 10y ago
It could also be a neat trick around the Intel Pentium's FDIV bug, [1].
[1] https://en.wikipedia.org/wiki/Pentium_FDIV_bug https://en.wikipedia.org/wiki/Pentium_FDIV_bug
- lfowles 10y agoI'm not sure I follow your line of thought given the post is talking integer division and FDIV is floating point division.
- amelius 10y agoWell, 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 10y agoCool. Time to dust off that old PC in the attic.
- Sohcahtoa82 10y agoBecause people are totally going to be concerned about working around a bug that was fixed over 20 years ago.