<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:basile_clement@apple.com" title="Basile Clement <basile_clement@apple.com>"> <span class="fn">Basile Clement</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - FTL is not working on Windows."
href="https://bugs.webkit.org/show_bug.cgi?id=145366">bug 145366</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>basile_clement@apple.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - FTL is not working on Windows."
href="https://bugs.webkit.org/show_bug.cgi?id=145366#c31">Comment # 31</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - FTL is not working on Windows."
href="https://bugs.webkit.org/show_bug.cgi?id=145366">bug 145366</a>
from <span class="vcard"><a class="email" href="mailto:basile_clement@apple.com" title="Basile Clement <basile_clement@apple.com>"> <span class="fn">Basile Clement</span></a>
</span></b>
<pre>If MSVC runtime says sin(-0) = 0, this is incorrect (standard enforces sin(-0) = -0).
According to <a href="http://stackoverflow.com/questions/30392832/sinminus-zero-does-not-return-the-expected-result-on-visual-studio-2013-64bi">http://stackoverflow.com/questions/30392832/sinminus-zero-does-not-return-the-expected-result-on-visual-studio-2013-64bi</a> , this is the case at least for MSVC 2013 on Windows 7. Is this the MSVC/Windows version combination you are using? Can you confirm it is a runtime problem with a simple C program computing sin(-0)?
(In reply to <a href="show_bug.cgi?id=145366#c30">comment #30</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=145366#c29">comment #29</a>)
> >
> > Looks like the default rounding mode is fine. If your only failure is
> > sin(-0), I'd look at that path and see if there is some windows specific
> > handling of sin that is causing the issue.
>
> Yes, the only failure is sin(-0) (which also fails with FTL disabled).
> I investigated the path, and found nothing Windows specific, except for the
> sin() call itself from the function mathProtoFuncSin().
> This makes me think that the issue is caused by differences in the MSVC and
> GCC C run time libraries.</span ></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>