<div dir="ltr">Hi Ruslan,<div><br></div><div>Sorry for the late reply.</div><div><br></div><div>Thanks for pointing out the problem, I havenot thought of the questions before, and I found that this patch might also cause problems on other platforms... However, <a href="https://github.com/wine-compholio/wine-staging/tree/master/patches/msvcrt-Math_Precision">here</a> is a patch created by Sebastian and it should work if your environment supports coshl/sinhl.</div><div><br></div><div>Thank you again and wish you a good day! :)</div><div><br></div><div>Regards,</div><div>Zheng</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-05 2:36 GMT+08:00 Ruslan Kabatsayev <span dir="ltr"><<a href="mailto:b7.10110111@gmail.com" target="_blank">b7.10110111@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Are you sure this will be of any use if one selects SSE instead of x87<br>
instruction set to handle doubles (like -mfpmath=sse)? No one<br>
guarantees the functions like sinh will be evaluated on x87 FPU and<br>
even that this legacy instruction set will used at all.<br>
<br>
Regards,<br>
Ruslan<br>
<div class="HOEnZb"><div class="h5"><br>
On Sat, Apr 4, 2015 at 7:40 PM, Zheng Chen <<a href="mailto:chanchengcc@gmail.com">chanchengcc@gmail.com</a>> wrote:<br>
> The default fpu_cw = 0x27f makes the exp/pow/cosh/sinh functions producing<br>
> less accurate results. This patch temporally changes fpu_cw to 0x37f in<br>
> these functions for more accurate results.<br>
><br>
> Thanks to Qian for his ideas.<br>
><br>
> This patch fixes parts of these two bugs: 37149, 37150<br>
><br>
><br>
><br>
<br>
<br>
</div></div></blockquote></div><br></div>