Re:Intel Underestimates Error Bounds by 1.3 Quintillion
by stephencanon on Thursday October 09, 2014 @05:08PM
(#8435030)
It requires more than 1100 bits to do correct argument reduction for double, actually.
You're absolutely correct that a software implementation may be several times faster than the legacy x87 fsin instruction, while delivering well-rounded results. There shouldn't be a need to write your own implementation, however. High-quality library implementations are pretty widely available these days.
Re:Intel Underestimates Error Bounds by 1.3 Quintillion
by bsder on Thursday October 09, 2014 @07:31PM
(#8435541)
Agreed. I'm stunned that there is a compiler currently in existence that actually uses the built-in Intel transcendentals rather than their own library.
You're absolutely correct that a software implementation may be several times faster than the legacy x87 fsin instruction, while delivering well-rounded results. There shouldn't be a need to write your own implementation, however. High-quality library implementations are pretty widely available these days.