<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 22, 2014 at 5:22 PM, Julien Fischer <span dir="ltr"><<a href="mailto:jfischer@opturion.com" target="_blank">jfischer@opturion.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Define MR_is_{nan,infinite,finite} as macros with VS2013.<br>
<br>
This is a follow-up to commit fff5759.  If we are using C99 we define<br>
MR_is_{nan,infinite,finite} as macros.  We should do the same for MSVC version<br>
1800 (VS2013) and onwards and the only reason we didn't already is that MSVC<br>
doesn't define the __STDC_VERSION__ macro appropriately.<br>
<br>
runtime/mercury_float.h:<br>
    Define MR_is_{nan,infinite,finite} as macros with MSVC version 1800<br>
    and onwards.<br></blockquote><div><br></div><div>There was supposed to be a second change listed here: since isnan and friends</div><div>in C99 are type-generic we can simplify some of the existing code.  I've amended</div><div>the log message.</div><div><br></div><div>Cheers,</div><div>Julien.  </div><div><br></div><div><br></div><div><br></div><div> </div></div></div></div>