src/video/e_sqrt.h
changeset 1345 7f32b9bede06
parent 1330 450721ad5436
child 1424 7a610f25c12f
equal deleted inserted replaced
1344:2eed9997bd24 1345:7f32b9bede06
   200 	while(r!=0) {
   200 	while(r!=0) {
   201 	    t1 = s1+r;
   201 	    t1 = s1+r;
   202 	    t  = s0;
   202 	    t  = s0;
   203 	    if((t<ix0)||((t==ix0)&&(t1<=ix1))) {
   203 	    if((t<ix0)||((t==ix0)&&(t1<=ix1))) {
   204 		s1  = t1+r;
   204 		s1  = t1+r;
   205 		if(((t1&sign)==sign)&&(s1&sign)==0) s0 += 1;
   205 		if(((int32_t)(t1&sign)==sign)&&(s1&sign)==0) s0 += 1;
   206 		ix0 -= t;
   206 		ix0 -= t;
   207 		if (ix1 < t1) ix0 -= 1;
   207 		if (ix1 < t1) ix0 -= 1;
   208 		ix1 -= t1;
   208 		ix1 -= t1;
   209 		q1  += r;
   209 		q1  += r;
   210 	    }
   210 	    }