<HTML>
<style> BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }</style>It's already there. I deleted the faulty one and included a new copy with the fix. It's probably not the best approach, but I didn't want a long list of patches like I've ended up with before.<br>
<br>
Gareth aka. Kit<br>
<br>
<br>
<span style="font-weight: bold;">On Thu 03/05/18 06:56 , "Sven Barth" pascaldragon@googlemail.com sent:<br>
</span><blockquote style="BORDER-LEFT: #F5F5F5 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT:0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px"><div dir="auto"><div><div class="gmail_quote"><div dir="ltr">J. Gareth Moreton <<a href="javascript:top.opencompose('gareth@moreton-family.com','','','')">gareth@moreton-family.com</a>> schrieb am Do., 3. Mai 2018, 04:55:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Tests complete! It turns out that I was using SetExceptionMask wrong and subtracting rather than adding exInvalidOp.<br>
<br>
When exceptions are disabled, this new Frac function returns NaN when you pass in plus or minus infinity. This is consistent with the specification as listed in Chapter 11, Section 11.5.2.1 of the IntelĀ® 64 and IA-32 Architectures Software Developer's Manual which dicates that if the cause is "Addition of opposite signed infinities or subtraction of like-signed infinities" (the last line in the procedure is SUBSD that effectively performs "x - Int(x)"), the result is to "Return the QNaN floating-point Indefinite".<br>
</blockquote></div></div><div dir="auto"><br>
</div><div dir="auto">Great! If you haven't done so, would you please make sure that your patch is attached to the bug report so that I can find it? :) </div><div dir="auto"><br>
</div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>
</blockquote></HTML>