<div class="gmail_quote">On Fri, Apr 22, 2011 at 15:20, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">> Are you sure?<br>
<br>
</div>    Absolutely!   I do not care if it links ok. We cannot use something that doesn't have a proper prototype because (1) it spews crap all over a PETSc build that worries people (rightly so) and (2) how can you trust the link when you don't know how the compiler interpreted the arguments in the compile.</blockquote>
</div><br><div>There is also the problem that if the prototype is not available, the argument will be implicitly converted from float to double which may change it's value. The standard actually requires that "isinf" and relatives be a macro, the type of the argument is checked and a more specific function (which may or may not be called isinf, and might be a compiler builtin) is called.</div>