Re: [Mingw-w64-public] sinl/cosl/tanl accuracy problem

2016-09-08 Thread lhmouse
01 收件人:mingw-w64-public 抄送: 主题:Re: [Mingw-w64-public] sinl/cosl/tanl accuracy problem On 07.09.2016 17:21, lhmouse wrote: > (I don't write AT assembly so I am unable to make a patch. > Nevertheless I hope someone who writes AT assembly could fix it.) I don't have time to write a patch but

Re: [Mingw-w64-public] sinl/cosl/tanl accuracy problem

2016-09-08 Thread Thomas Bickel
On 07.09.2016 17:21, lhmouse wrote: (I don't write AT assembly so I am unable to make a patch. Nevertheless I hope someone who writes AT assembly could fix it.) I don't have time to write a patch but I can donate some code that AFAIK does what you need for the sin functions. >gcc -m32

Re: [Mingw-w64-public] sinl/cosl/tanl accuracy problem

2016-09-08 Thread lhmouse
- 发件人:NightStrike <nightstr...@gmail.com> 发送日期:2016-09-08 15:06 收件人:mingw-w64-public@lists.sourceforge.net 抄送: 主题:Re: [Mingw-w64-public] sinl/cosl/tanl accuracy problem What does gcc's __builtin_sin

Re: [Mingw-w64-public] sinl/cosl/tanl accuracy problem

2016-09-08 Thread NightStrike
yes, I am all ears > > -- > Best regards, > lh_mouse > 2016-09-08 > > - > 发件人:Riot <rain.back...@gmail.com> > 发送日期:2016-09-08 04:00 > 收件人:mingw-w64-public > 抄送: > 主题:Re: [Mingw-w64-

Re: [Mingw-w64-public] sinl/cosl/tanl accuracy problem

2016-09-07 Thread lhmouse
- 发件人:Riot <rain.back...@gmail.com> 发送日期:2016-09-08 04:00 收件人:mingw-w64-public 抄送: 主题:Re: [Mingw-w64-public] sinl/cosl/tanl accuracy problem Some of us (game developers especially) greatly prefer a minor inaccuracy to a potentially major slowdown; I would pers

Re: [Mingw-w64-public] sinl/cosl/tanl accuracy problem

2016-09-07 Thread Riot
Some of us (game developers especially) greatly prefer a minor inaccuracy to a potentially major slowdown; I would personally opposed this change, as you're noticeably increasing the cost of something that's used heavily in tightly looped code. Perhaps an appropriately named #ifdef switch would

[Mingw-w64-public] sinl/cosl/tanl accuracy problem

2016-09-07 Thread lhmouse
(I don't write AT assembly so I am unable to make a patch. Nevertheless I hope someone who writes AT assembly could fix it.) The x87 `sinl` instruction has been suffering from an accuracy problem since decades ago, which is described in this article: