<div dir="ltr"><div dir="ltr"><div><span style="background-color:transparent">Hi, Paul, thanks for your question about the </span>signgam<span style="background-color:transparent"> variable associated with the lgamma family of functions in some systems. In our 26 August meeting, we determined that this is not a 754 issue, putting it outside the scope of CFP. We will take no action here.</span></div><div class="gmail_quote"><div dir="ltr"><div dir="ltr"><div><br></div><div>Thanks again.</div><div><br></div><div><div dir="ltr" class="gmail_signature"><div dir="ltr">-Jerome Coonen</div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 17, 2026 at 4:03 AM Paul Zimmermann <<a href="mailto:Paul.Zimmermann@inria.fr" target="_blank">Paul.Zimmermann@inria.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">       Hi,<br>
<br>
the C standard says nothing about the "signgam" variable that concrete<br>
implementations of lgamma use, for example with the GNU libc:<br>
<br>
     extern int signgam;<br>
<br>
     signgam:<br>
         _XOPEN_SOURCE<br>
             || /* Since glibc 2.19: */ _DEFAULT_SOURCE<br>
             || /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE<br>
<br>
     The lgamma(), lgammaf(), and lgammal() functions return the natural  loga‐<br>
     rithm  of the absolute value of the Gamma function.  The sign of the Gamma<br>
     function is returned in the external integer signgam declared in <math.h>.<br>
     It is 1 when the Gamma function is positive or zero, -1 when it  is  nega‐<br>
     tive.<br>
<br>
Should the CFP deal about signgam? Or ignore it?<br>
<br>
Paul<br>
<br>
PS: I know there is also lgamma_r which returns signgam in the pointer from<br>
its 2nd argument.<br>
<br>
_______________________________________________<br>
cfp-interest mailing list<br>
<a href="mailto:cfp-interest@oakapple.net" target="_blank">cfp-interest@oakapple.net</a><br>
<a href="http://mailman.oakapple.net/mailman/listinfo/cfp-interest" rel="noreferrer" target="_blank">http://mailman.oakapple.net/mailman/listinfo/cfp-interest</a><br>
</blockquote></div></div>
</div></div>
</div>