<br><br><div class="gmail_quote">On Sat, Aug 21, 2010 at 2:40 PM, Romain Francois <span dir="ltr"><<a href="mailto:romain@r-enthusiasts.com">romain@r-enthusiasts.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Not that I care, but I'm slightly surprised at the implementation of log1p :<br>
specifically that it throws an exception<font color="#888888"><br>
Romain</font></blockquote><div><br>I changed the code in msvcmath.cpp to return non-signalling NaN when there is<br>a problem instead of throwing an exception. This is what happens when you<br>try sqrt(-1.0), for example.<br>
<br>I'm attaching the diffs. I don't think I can checkin directly, right?<br><br>Thanks,<br>Dominick<br></div></div><br>