4 ms·
I'm not worthy, I'm not worthy... Edit: The intel engineer was probably smart, but then there's this guy. And then there's the commenters here. Lesson: There'
by msie 12y ago
I'm not worthy, I'm not worthy...
Edit:
The intel engineer was probably smart, but then there's this guy. And then there's the commenters here. Lesson: There's always someone out there smarter than you.
- bsder 12y agoThe lesson is actually "This was designed 35+ years ago in different constraints." Memory and ROM were small and expensive and processors were in-order and slow. Putting the transcendental in microcode made sense, back then. Now, memory is huge; processors are superscalar and speculative execution; vector units exist; and everybody ignores the built-in transcendentals, but Intel can't dump them for backwards compatibility.
- msie 12y agoYes, but from the text it seemed like fsin was broken to begin with: It is surprising that fsin is so inaccurate. I could perhaps forgive it for being inaccurate for extremely large inputs (which it is) but it is hard to forgive it for being so inaccurate on pi which is, ultimately, a very ‘normal’ input to the sin() function.
- thaumasiotes 12y agoIt's hard for the constraints of old to justify lying about your accuracy in the documentation you produce, though...?