src/video/e_pow.h
changeset 1345 7f32b9bede06
parent 1330 450721ad5436
child 1424 7a610f25c12f
equal deleted inserted replaced
1344:2eed9997bd24 1345:7f32b9bede06
   128 	    if(iy>=0x43400000) yisint = 2; /* even integer y */
   128 	    if(iy>=0x43400000) yisint = 2; /* even integer y */
   129 	    else if(iy>=0x3ff00000) {
   129 	    else if(iy>=0x3ff00000) {
   130 		k = (iy>>20)-0x3ff;	   /* exponent */
   130 		k = (iy>>20)-0x3ff;	   /* exponent */
   131 		if(k>20) {
   131 		if(k>20) {
   132 		    j = ly>>(52-k);
   132 		    j = ly>>(52-k);
   133 		    if((j<<(52-k))==ly) yisint = 2-(j&1);
   133 		    if((u_int32_t)(j<<(52-k))==ly) yisint = 2-(j&1);
   134 		} else if(ly==0) {
   134 		} else if(ly==0) {
   135 		    j = iy>>(20-k);
   135 		    j = iy>>(20-k);
   136 		    if((j<<(20-k))==iy) yisint = 2-(j&1);
   136 		    if((j<<(20-k))==iy) yisint = 2-(j&1);
   137 		}
   137 		}
   138 	    }
   138 	    }