Boost C++ Libraries: Ticket #2769: x86_64 + g++: wrong results for sin() https://svn.boost.org/trac10/ticket/2769 <p> When using boost's interval library under x86_64-Linux with g++ we encountered strange results for sin(): For example for an interval [-2.1,-2.1] sin() returns [nan,nan]. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2769 Trac 1.4.3 anonymous Tue, 17 Feb 2009 17:42:05 GMT attachment set https://svn.boost.org/trac10/ticket/2769 https://svn.boost.org/trac10/ticket/2769 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">interval_test.cpp</span> </li> </ul> <p> c++-File depicting the problem </p> Ticket smr@… Fri, 04 Jun 2010 07:33:12 GMT <link>https://svn.boost.org/trac10/ticket/2769#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2769#comment:1</guid> <description> <p> Seems to still be a problem in Boost 1.42: see the report from Debian: <a class="ext-link" href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584325"><span class="icon">​</span>http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584325</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Jeremiah Willcock</dc:creator> <pubDate>Tue, 08 Jun 2010 22:14:02 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/2769#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2769#comment:2</guid> <description> <p> The underlying C cos function has problems as well, even outside Boost.Interval. This bug appears to be a manifestation of something like <a class="ext-link" href="http://sourceware.org/bugzilla/show_bug.cgi?id=3976"><span class="icon">​</span>http://sourceware.org/bugzilla/show_bug.cgi?id=3976</a> (which also applies to many other functions). According to that discussion, though, the standard library is not required to respect round-down or round-up for transcendental functions at all. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Dean Michael Berris</dc:creator> <pubDate>Mon, 29 Nov 2010 03:13:12 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/2769#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2769#comment:3</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/2769#comment:2" title="Comment 2">jewillco</a>: </p> <blockquote class="citation"> <p> According to that discussion, though, the standard library is not required to respect round-down or round-up for transcendental functions at all. </p> </blockquote> <p> Looks like this should be marked as <code>wontfix</code>? </p> </description> <category>Ticket</category> </item> </channel> </rss>