- attempt to cleanup a few warnings

- attempt to get git rev info each compile (not just when running cmake)
This commit is contained in:
SoftCoder
2013-12-11 23:16:56 -08:00
parent c91b92901b
commit c887b0c357
4 changed files with 18 additions and 7 deletions

View File

@@ -46,7 +46,7 @@ __ieee754_gammaf_r (Simple x, int *signgamp)
*signgamp = 0;
return (x - x) / (x - x);
}
if (hx == 0xff800000)
if ((u_int32_t)hx == 0xff800000)
{
/* x == -Inf. According to ISO this is NaN. */
*signgamp = 0;

View File

@@ -163,6 +163,7 @@ static Simple zero= 0.0000000000e+00f;
GET_FLOAT_WORD(hx,x);
/* purge off +-inf, NaN, +-0, and negative arguments */
nadj = 0;
*signgamp = 1;
ix = hx&0x7fffffff;
if(ix>=0x7f800000) return x*x;