<div dir="ltr"><div>The function rint() is supposed to round to the nearest integer, breaking ties to even. With -ffast-math, it breaks ties away from zero. That is, in corner cases the result is incorrectly rounded.</div>
<div><br></div><div>Is this intended? This (BGQ with Clang) is the first system that does so. (I understand why one would do this given the machine instructions available.)</div><div><br></div><div>-erik</div><br clear="all">
<div><br></div>-- <br>Erik Schnetter <<a href="mailto:schnetter@cct.lsu.edu" target="_blank">schnetter@cct.lsu.edu</a>><br><a href="http://www.perimeterinstitute.ca/personal/eschnetter/" target="_blank">http://www.perimeterinstitute.ca/personal/eschnetter/</a>
</div>