mirror of
https://github.com/glest/glest-source.git
synced 2025-08-19 06:31:19 +02:00
- attempt to cleanup a few warnings
- attempt to get git rev info each compile (not just when running cmake)
This commit is contained in:
@@ -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;
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user