<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>Den 3. okt. 2011 kl. 00.40 skrev Michael Miller:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Try moving the line<br><br> bool cl_inhibit_floating_point_underflow = true;<br><br>inside the function main, without the bool, so the first three lines look like:<br><br>int main()<br>{<br> cl_inhibit_floating_point_underflow = true;<br></span></blockquote></div><br><div>Yes, indeed that works! Also for functions called from main().</div><div>I almost tried this, but with the bool declaration...</div><div>Thanks a lot!</div><div><br></div><div>I wonder if section 12.2 of the manual should be modified?</div><div>The behaviour maybe depends on compilers and systems.</div><div><br></div><div>By the way, I think it most of the time is a bad idea to turn on this</div><div>option. Usually underflow is a signal that some lowprecision</div><div>variables have contaminated your calculation.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></body></html>